View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014917 | CMake | CMake | public | 2014-05-15 12:02 | 2016-06-10 14:31 | ||||
Reporter | Andreas Boerner | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | PC Linux | OS | all | OS Version | |||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014917: CMake does nor create response file for Ninja | ||||||||
Description | On a larger project, (cmake -G Ninja) the arguments get too long for Ninja or Linux to handle. (That's usually the link command). Linking aborts because of error command line too long | ||||||||
Steps To Reproduce | happens always if link command is long enough | ||||||||
Additional Information | I have a work-around for this: ninjaFix.lex: %% CXX_EXECUTABLE_LINKER printf("%s_RSP_FILE", yytext); TARGET_PDB.+ printf("%s/n RSP_FILE = rsp.txt\n", yytext); flex ninjaFix.lex gcc -o fix lex.yy.c -lfl and then I do after cmake -G Ninja: mv build.ninja build.ninja.in fix < build.ninja.in > build.ninja and then I can call ninja -j 20 without an error. Would be great if this fix could be integrated into the Ninja generator of cmake ! | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035886) Ben Boeckel (developer) 2014-05-15 15:36 |
There was a recent patch which fixed some command line length limits. As a workaround, there is the CMAKE_NINJA_FORCE_RESPONSE_FILE which will force response files for all targets. |
(0035887) Andreas Boerner (reporter) 2014-05-16 00:04 |
Ok, great! What version of cmake do I need to require for that option to work? |
(0035891) Ben Boeckel (developer) 2014-05-16 11:47 |
2.8.10 has the variable. |
(0042547) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-05-15 12:02 | Andreas Boerner | New Issue | |
2014-05-15 15:36 | Ben Boeckel | Note Added: 0035886 | |
2014-05-16 00:04 | Andreas Boerner | Note Added: 0035887 | |
2014-05-16 11:47 | Ben Boeckel | Note Added: 0035891 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042547 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |