Commit 8d3abbe 1 parent 82277ae commit 8d3abbe Copy full SHA for 8d3abbe
File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 3
3
set -e
4
4
5
5
# Checkout LLVM sources
6
- git clone --depth=1 --branch llvmorg-19.1.6 https://github.com/llvm/llvm-project.git llvm-project
6
+ git clone --filter=blob:none --depth=1 --branch llvmorg-19.1.6 --no-checkout https://github.com/llvm/llvm-project.git llvm-project
7
+ cd llvm-project
8
+ git sparse-checkout set --cone
9
+ git checkout llvmorg-19.1.6
10
+ git sparse-checkout set cmake llvm/cmake runtimes libcxx libcxxabi
11
+ cd ..
7
12
8
13
# # Setup libc++ options
9
14
if [ -z " $BUILD_32_BITS " ]; then
@@ -20,6 +25,9 @@ cmake -DCMAKE_C_COMPILER=${CC} \
20
25
-DLLVM_USE_SANITIZER=${LIBCXX_SANITIZER} \
21
26
-DLLVM_BUILD_32_BITS=${BUILD_32_BITS} \
22
27
-DLIBCXXABI_USE_LLVM_UNWINDER=OFF \
28
+ -DLLVM_INCLUDE_TESTS=OFF \
29
+ -DLIBCXX_INCLUDE_TESTS=OFF \
30
+ -DLIBCXX_INCLUDE_BENCHMARKS=OFF \
23
31
-DLLVM_ENABLE_RUNTIMES=' libcxx;libcxxabi' \
24
32
-G " Unix Makefiles" \
25
33
../llvm-project/runtimes/
You can’t perform that action at this time.
0 commit comments