View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013639 | CMake | CMake | public | 2012-11-01 16:52 | 2013-12-02 08:51 | ||||
Reporter | Todd Greer | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | major | Reproducibility | random | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Visual Studio 2010 | OS | Windows | OS Version | Windows 7 | ||||
Product Version | CMake 2.8.7 | ||||||||
Target Version | CMake 2.8.11 | Fixed in Version | CMake 2.8.11 | ||||||
Summary | 0013639: Parellel builds of targets in the same CMakeLists.txt sometimes fail | ||||||||
Description | I have several libraries in my build that are all declared in the same CMakeLists.txt (by add_library). Unfortunately, the Visual Studio generator (2010, but I don't think it matters) puts "CMakeFiles\generate.stamp" in the output directory for that CMakeLists.txt. When being build in parallel, these targets sometimes seem to collide, yielding an error like this: CUSTOMBUILD : CMake error : Cannot restore timestamp <outdir>\CMakeFiles\generate.stamp AFAICT, there is no documented prohibition on pointing multiple projects' outputs to the same directory. Either this should be fixed, or the restriction should be documented. | ||||||||
Steps To Reproduce | Create a CMakeLists.txt with multiple add_library commands. Build with VS2010, with parallel building enabled, on a multicore computer. Observe the failure listed in the description. | ||||||||
Additional Information | There would be some work involved in cutting our build config down to something I could submit; please let me know if that is required. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0033616) Brad King (manager) 2013-07-25 16:14 |
This was fixed in CMake 2.8.11 by these commits: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2dc17f88 [^] http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=59b568e5 [^] |
(0034659) Robert Maynard (manager) 2013-12-02 08:51 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-11-01 16:52 | Todd Greer | New Issue | |
2013-07-25 16:14 | Brad King | Note Added: 0033616 | |
2013-07-25 16:14 | Brad King | Assigned To | => Brad King |
2013-07-25 16:14 | Brad King | Status | new => resolved |
2013-07-25 16:14 | Brad King | Resolution | open => fixed |
2013-07-25 16:14 | Brad King | Fixed in Version | => CMake 2.8.11 |
2013-07-25 16:14 | Brad King | Target Version | => CMake 2.8.11 |
2013-12-02 08:51 | Robert Maynard | Note Added: 0034659 | |
2013-12-02 08:51 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |