View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014178 | CMake | CMake | public | 2013-05-30 10:51 | 2013-05-30 13:06 | ||||
Reporter | nob | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | Linux | OS | OS Version | ||||||
Product Version | CMake 2.8.10.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014178: Eclipse CDT Generator uses fixed CPU Count for parallel build | ||||||||
Description | When using the Eclipse CDT4 (Unix Makefiles) Generator, CMake always generates a parallel build. While this is a generally a good idea, the number of CPUs may be to high on some projects/systems. Here I have a Core i7 4-Core Laptop, where the ProcessorCount module reports 8 Processors. Using a parallel build with "make -j8", all compile jobs eat up all available RAM of the system, making it unusable. It would be nice if the number parallel job count could be configurable and just falls back to the number ProcessorCount reproduces. | ||||||||
Steps To Reproduce | - Use Eclipse CDT4 - Unix Makefiles Generator - In Eclipse, look into Project/Properties/C/C++-Make Project/Make Builder --> Build command has a fixed "-j<num>" argument which seems not configureable. On each reinvocation of cmake, the parallel job number is set back to its default. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0033155) Alex Neundorf (developer) 2013-05-30 13:06 |
CMake detects the number of CPUs, and uses that to initialize the CMAKE_ECLIPSE_MAKE_ARGUMENTS cache variable, in your case "-j8". You can modify this variable as you want e.g. via cmake-gui. It will not change during following cmake runs. If that doesn't work, please reopen this ticket. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-05-30 10:51 | nob | New Issue | |
2013-05-30 13:00 | Alex Neundorf | Assigned To | => Alex Neundorf |
2013-05-30 13:00 | Alex Neundorf | Status | new => assigned |
2013-05-30 13:06 | Alex Neundorf | Note Added: 0033155 | |
2013-05-30 13:06 | Alex Neundorf | Status | assigned => closed |
2013-05-30 13:06 | Alex Neundorf | Resolution | open => no change required |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |