Lines Matching +refs:clang +refs:flags
1 # On Windows, CMAKE_*_FLAGS are built for MSVC but we use the GCC clang.exe,
2 # which uses completely different flags. Translate some common flag types, and
11 # Make space separated -D and -U flags into joined flags.
20 # Canonicalize normal optimization flags to -O2.
28 # a provided compile flags and dependenices.
30 # CFLAGS <list of compile flags>
36 list(APPEND SOURCE_DEPS clang compiler-rt-headers)
69 # On Darwin, there are no system-wide C++ headers and the just-built clang is
72 # The just-built clang is used to build compiler-rt unit tests. Let's detect
82 …" echo 'Your just-built clang cannot find C++ headers, which are needed to build and run compiler…
84 " if [ -d $(dirname $(dirname $(xcrun -f clang)))/include/c++ ]"
86 …" echo ' cp -r' $(dirname $(dirname $(xcrun -f clang)))/include/c++ '${LLVM_BINARY_DIR}/includ…
87 " elif [ -d $(dirname $(dirname $(xcrun -f clang)))/lib/c++ ]"
89 … " echo ' cp -r' $(dirname $(dirname $(xcrun -f clang)))/lib/c++ '${LLVM_BINARY_DIR}/include/'"
101 COMMENT "Checking that just-built clang can find C++ headers..."
103 if (TARGET clang)
104 ADD_DEPENDENCIES(CompilerRTUnitTestCheckCxx clang)