浏览代码

Build parameters.

main
offa 7 年前
父节点
当前提交
a31dcbac20
共有 1 个文件被更改,包括 9 次插入1 次删除
  1. +9
    -1
      script/ci_install.sh

+ 9
- 1
script/ci_install.sh 查看文件

@@ -33,12 +33,20 @@ then
git clone --depth=1 -b ${LLVM_RELEASE} https://github.com/llvm-mirror/libcxx.git llvm-source/projects/libcxx
git clone --depth=1 -b ${LLVM_RELEASE} https://github.com/llvm-mirror/libcxxabi.git llvm-source/projects/libcxxabi

if [[ -z "${BUILD_32_BITS}" ]]
then
export BUILD_32_BITS=OFF
echo disabling 32 bit build
fi

mkdir -p build && cd build

cmake -DCMAKE_C_COMPILER=${CC} \
-DCMAKE_CXX_COMPILER=${CXX} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIBCXX_ABI_UNSTABLE=ON \
-DLLVM_USE_SANITIZER=${LIBCXX_SANITIZER} \
-DLLVM_BUILD_32_BITS=${BUILD_32_BITS} \
../llvm-source
make cxx -j4
else

正在加载...
取消
保存