[PATCH] D29822: [LNT] Get cc info from CMake cache instead of from command-line
Kristof Beyls via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 10 04:55:59 PST 2017
kristof.beyls created this revision.
Herald added a subscriber: mgorny.
There are multiple ways to specify the compiler to use, such as:
- Using the --cc command line option.
- Using the --cmake-cache command line option.
- Using a --cmake-define=CMAKE_C_COMPILER=xxx command line option.
- ...
Nonetheless, in the report.json file, the compiler pointed to by the
--cc command line option is reported, irrespective of the compiler
actually used by cmake during compilation.
This patch fixes that by getting the compiler used from the
CMakeCache.txt file rather than from the --cc command line option.
https://reviews.llvm.org/D29822
Files:
lnt/tests/test_suite.py
tests/SharedInputs/FakeCompilers/clang++-r154332
tests/SharedInputs/FakeCompilers/clang-r154332
tests/SharedInputs/FakeCompilers/fakecompiler.py
tests/runtest/Inputs/test-suite-cmake/fake-cmake
tests/runtest/test_suite.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29822.87984.patch
Type: text/x-patch
Size: 11165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170210/bd5cb3e3/attachment.bin>
More information about the llvm-commits
mailing list