瀏覽代碼

Paths fixed.

main
offa 7 年之前
父節點
當前提交
80d4113667
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      script/ci_install.sh

+ 3
- 2
script/ci_install.sh 查看文件

# --- LibC++ # --- LibC++
if [[ "${CXX}" = clang* ]] if [[ "${CXX}" = clang* ]]
then then
mkdir build && cd build

if [[ ! -d "$(ls -A ${DEPENDENCY_DIR}/llvm-source)" ]] if [[ ! -d "$(ls -A ${DEPENDENCY_DIR}/llvm-source)" ]]
then then
LLVM_RELEASE=release_50 LLVM_RELEASE=release_50
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/libcxx.git llvm-source/projects/libcxx
git clone --depth=1 -b ${LLVM_RELEASE} https://github.com/llvm-mirror/libcxxabi.git llvm-source/projects/libcxxabi git clone --depth=1 -b ${LLVM_RELEASE} https://github.com/llvm-mirror/libcxxabi.git llvm-source/projects/libcxxabi


mkdir build && cd build


cmake -DCMAKE_C_COMPILER=${CC} \ cmake -DCMAKE_C_COMPILER=${CC} \
-DCMAKE_CXX_COMPILER=${CXX} \ -DCMAKE_CXX_COMPILER=${CXX} \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
../llvm-source ../llvm-source
make cxx -j4 make cxx -j4
else
cd build
fi fi


sudo make install-cxxabi install-cxx sudo make install-cxxabi install-cxx

Loading…
取消
儲存