Bladeren bron

Installation always necessary.

main
offa 7 jaren geleden
bovenliggende
commit
29b81fb09f
2 gewijzigde bestanden met toevoegingen van 5 en 3 verwijderingen
  1. +1
    -1
      script/ci_build.sh
  2. +4
    -2
      script/ci_install.sh

+ 1
- 1
script/ci_build.sh Bestand weergeven

@@ -1,6 +1,6 @@
#!/bin/bash

if [[ "$CXX" == clang* ]]; then
if [[ "${CXX}" == clang* ]]; then
export CXXFLAGS="-stdlib=libc++"
fi


+ 4
- 2
script/ci_install.sh Bestand weergeven

@@ -26,6 +26,8 @@ cd ${DEPENDENCY_DIR}
# --- LibC++
if [[ "${CXX}" = clang* ]]
then
mkdir build && cd build

if [[ ! -d "$(ls -A ${DEPENDENCY_DIR}/llvm-source)" ]]
then
LLVM_RELEASE=release_50
@@ -33,7 +35,6 @@ 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

mkdir build && cd build

cmake -DCMAKE_C_COMPILER=${CC} \
-DCMAKE_CXX_COMPILER=${CXX} \
@@ -41,7 +42,8 @@ then
-DCMAKE_INSTALL_PREFIX=/usr \
../llvm-source
make cxx -j4
sudo make install-cxxabi install-cxx
fi

sudo make install-cxxabi install-cxx
fi


Laden…
Annuleren
Opslaan