Go to file
Michal Gorny 6911324ed4 [llvm-config] Canonicalize CMake booleans to 0/1
Following the similar change to lit configuration, ensure that all CMake
booleans are canonicalized to 0/1 when being passed to llvm-config. This
fixes the incorrect interpretation of values when user passes another
value than the ON/OFF, and simplifies the code by removing unnecessary
string matching.

Furthermore, the code for --has-rtti and --has-global-isel has been
modified to print consistent values indepdently of the boolean used by
passed by the user to CMake. Sadly, the code already implicitly used
different values for the two (YES/NO for --has-rtti, ON/OFF for
--has-global-isel).

Include tests for all booleans and multi-value options in llvm-config.

Differential Revision: https://reviews.llvm.org/D28366

llvm-svn: 291593
2017-01-10 19:55:51 +00:00
clang [OpenMP] Remove outdated comments. NFC. 2017-01-10 18:57:07 +00:00
clang-tools-extra [include-fixer] Load symbol index asynchronously. 2017-01-09 15:18:28 +00:00
compiler-rt builtins: repair __gtsf2 after SVN r291396 2017-01-10 19:48:50 +00:00
debuginfo-tests
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx [CMake][libcxx] Move Python check to main CMake file 2017-01-10 19:51:17 +00:00
libcxxabi [cmake] Obtain LLVM_CMAKE_PATH from llvm-config if available 2017-01-09 23:31:05 +00:00
libunwind [cmake] Obtain LLVM_CMAKE_PATH from llvm-config if available 2017-01-09 23:27:04 +00:00
lld Give local binding to VER_NDX_LOCAL symbols. 2017-01-10 17:08:13 +00:00
lldb XFAIL TestRegisterVariables on gcc-4.8-x86_64 2017-01-10 14:39:26 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [llvm-config] Canonicalize CMake booleans to 0/1 2017-01-10 19:55:51 +00:00
openmp [CMake] Make openmp build under runtimes/ 2017-01-04 18:11:37 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Delete stray isl_map_dump call. 2017-01-10 01:08:11 +00:00