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