Lines Matching +full:check +full:- +full:clang +full:- +full:python

11 # The build generates a proper clang configuration file with stored
12 # --sysroot argument for specified target triple. Also it is possible
14 # -DCLANG_CONFIG_FILE_USER_DIR=<full-path-to-clang-configs>
16 # -DCLANG_CONFIG_FILE_SYSTEM_DIR=<full-path-to-clang-configs>
18 # See more details here: https://clang.llvm.org/docs/UsersManual.html#configuration-files
21 # cmake -G Ninja ^
22 # -DTOOLCHAIN_TARGET_TRIPLE=aarch64-unknown-linux-gnu ^
23 # -DTOOLCHAIN_TARGET_SYSROOTFS=<path-to-develop-arm-linux-root-fs> ^
24 # -DTOOLCHAIN_SHARED_LIBS=OFF ^
25 # -DCMAKE_INSTALL_PREFIX=../install ^
26 # -DCMAKE_CXX_FLAGS="-D__OPTIMIZE__" ^
27 # -DREMOTE_TEST_HOST="<hostname>" ^
28 # -DREMOTE_TEST_USER="<ssh_user_name>" ^
29 # -C<llvm_src_root>/llvm-project/clang/cmake/caches/CrossWinToARMLinux.cmake ^
30 # <llvm_src_root>/llvm-project/llvm
32 # cmake --build . --target install
34 # cmake --build . --target check-llvm
35 # cmake --build . --target check-clang
36 # cmake --build . --target check-lld
37 # cmake --build . --target check-compiler-rt-<TOOLCHAIN_TARGET_TRIPLE>
38 # cmake --build . --target check-cxxabi-<TOOLCHAIN_TARGET_TRIPLE>
39 # cmake --build . --target check-unwind-<TOOLCHAIN_TARGET_TRIPLE>
40 # cmake --build . --target check-cxx-<TOOLCHAIN_TARGET_TRIPLE>
42 # python bin/llvm-lit.py -v --threads=32 runtimes/runtimes-<TOOLCHAIN_TARGET_TRIPLE>bins/libunwind/test 2>&1 | tee libunwind-tests.log
43 # python bin/llvm-lit.py -v --threads=32 runtimes/runtimes-<TOOLCHAIN_TARGET_TRIPLE>-bins/libcxxabi/test 2>&1 | tee libcxxabi-tests.log
44 # python bin/llvm-lit.py -v --threads=32 runtimes/runtimes-<TOOLCHAIN_TARGET_TRIPLE>-bins/libcxx/test 2>&1 | tee libcxx-tests.log
47 # LLVM_PROJECT_DIR is the path to the llvm-project directory.
59 set(LLVM_ENABLE_PROJECTS "clang;clang-tools-extra;lld" CACHE STRING "")
62 set(LLVM_ENABLE_RUNTIMES "compiler-rt;libunwind;libcxxabi;libcxx" CACHE STRING "")
66 set(TOOLCHAIN_TARGET_TRIPLE "aarch64-unknown-linux-gnu")
70 # installation path and operable target triple by Clang to get a correct runtime
71 # path through `-print-runtime-dir` Clang option.
72 string(REPLACE "-" ";" TOOLCHAIN_TARGET_TRIPLE "${TOOLCHAIN_TARGET_TRIPLE}")
81 string(REPLACE ";" "-" TOOLCHAIN_TARGET_TRIPLE "${TOOLCHAIN_TARGET_TRIPLE}")
88 # Store the --sysroot argument for the compiler-rt test flags.
89 set(sysroot_flags --sysroot='${TOOLCHAIN_TARGET_SYSROOTFS}')
90 # Generate the clang configuration file for the specified target triple
91 # and store --sysroot in this file.
133 set(LLVM_LIT_ARGS "-vv ${LLVM_LIT_ARGS}" CACHE STRING "" FORCE)
137 set(CLANG_DEFAULT_OBJCOPY "llvm-objcopy" CACHE STRING "")
138 set(CLANG_DEFAULT_RTLIB "compiler-rt" CACHE STRING "")
171 set(BUILTINS_${TOOLCHAIN_TARGET_TRIPLE}_CMAKE_${type}_LINKER_FLAGS "-fuse-ld=lld" CACHE STRING "")
189 set(RUNTIMES_${TOOLCHAIN_TARGET_TRIPLE}_CMAKE_${type}_LINKER_FLAGS "-fuse-ld=lld" CACHE STRING "")
205 # The compiler-rt tests disable the clang configuration files during the execution by setting CLANG_NO_DEFAULT_CONFIG=1
206 # and drops out the --sysroot from there. Provide it explicity via the test flags here if target sysroot has been specified.
207 set(RUNTIMES_${TOOLCHAIN_TARGET_TRIPLE}_COMPILER_RT_TEST_COMPILER_CFLAGS "--stdlib=libc++ ${sysroot_flags}" CACHE STRING "")
244 set(DEFAULT_TEST_EXECUTOR "\\\"${Python3_EXECUTABLE}\\\" \\\"${LLVM_PROJECT_DIR}/libcxx/utils/ssh.py\\\" --host=${REMOTE_TEST_USER}@${REMOTE_TEST_HOST}")
248 "\\\"${Python3_EXECUTABLE}\\\" \\\"${LLVM_PROJECT_DIR}/llvm/utils/remote-exec.py\\\" --host=${REMOTE_TEST_USER}@${REMOTE_TEST_HOST}"
262 llvm-ar
263 llvm-cov
264 llvm-cxxfilt
265 llvm-dwarfdump
266 llvm-lib
267 llvm-nm
268 llvm-objdump
269 llvm-pdbutil
270 llvm-profdata
271 llvm-ranlib
272 llvm-readobj
273 llvm-size
274 llvm-symbolizer
278 clang
281 clang-format