View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015766 | CMake | CMake | public | 2015-10-03 18:02 | 2016-06-10 14:31 | ||||
Reporter | NAKAMURA Takumi | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015766: Fails to infer CMAKE_ASM_COMPILER with CC='ccache gcc' | ||||||||
Description | For CMAKE_C_COMPILER, "gcc" is fed to the first in the argument. In contrast, "gcc" disappears for CMAKE_ASM_COMPILER. Of course, it works if ASM is explicitly specified without ccache. | ||||||||
Steps To Reproduce | project(Test C ASM) cmake_minimum_required(VERSION 2.8.12.2) add_executable(Test foo.c bar.S) # CC=ccache\ gcc cmake . # make [ 66%] Building ASM object CMakeFiles/Test.dir/bar.S.o /usr/bin/ccache -o CMakeFiles/Test.dir/bar.S.o -c /home/tnakamura/fio/ninja/xxx/bar.S /usr/bin/ccache: invalid option -- 'o' | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0039505) Brad King (manager) 2015-10-05 08:36 |
CMake 3.4 will have a new CMAKE_LANG_COMPILER_LAUNCHER setting that will be the preferred way to use ccache. Does that work for this case? |
(0042847) 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 |
2015-10-03 18:02 | NAKAMURA Takumi | New Issue | |
2015-10-05 08:36 | Brad King | Note Added: 0039505 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042847 | |
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 |