summaryrefslogtreecommitdiff
path: root/gnu/llvm/libcxx/utils/google-benchmark/.github/.libcxx-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/libcxx/utils/google-benchmark/.github/.libcxx-setup.sh')
-rwxr-xr-xgnu/llvm/libcxx/utils/google-benchmark/.github/.libcxx-setup.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/gnu/llvm/libcxx/utils/google-benchmark/.github/.libcxx-setup.sh b/gnu/llvm/libcxx/utils/google-benchmark/.github/.libcxx-setup.sh
deleted file mode 100755
index 56008403ae9..00000000000
--- a/gnu/llvm/libcxx/utils/google-benchmark/.github/.libcxx-setup.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env bash
-
-# Checkout LLVM sources
-git clone --depth=1 https://github.com/llvm/llvm-project.git llvm-project
-
-# Setup libc++ options
-if [ -z "$BUILD_32_BITS" ]; then
- export BUILD_32_BITS=OFF && echo disabling 32 bit build
-fi
-
-# Build and install libc++ (Use unstable ABI for better sanitizer coverage)
-cd ./llvm-project
-cmake -DCMAKE_C_COMPILER=${C_COMPILER} \
- -DCMAKE_CXX_COMPILER=${COMPILER} \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIBCXX_ABI_UNSTABLE=OFF \
- -DLLVM_USE_SANITIZER=${LIBCXX_SANITIZER} \
- -DLLVM_BUILD_32_BITS=${BUILD_32_BITS} \
- -DLLVM_ENABLE_PROJECTS='libcxx;libcxxabi' \
- -S llvm -B llvm-build -G "Unix Makefiles"
-make -C llvm-build -j3 cxx cxxabi
-sudo make -C llvm-build install-cxx install-cxxabi
-cd ..