Browse Source

Cleanup and output of build steps.

main
offa 7 years ago
parent
commit
9221aade92
2 changed files with 2 additions and 5 deletions
  1. +2
    -0
      script/ci_build.sh
  2. +0
    -5
      script/ci_install.sh

+ 2
- 0
script/ci_build.sh View File

#!/bin/bash #!/bin/bash


set -ex

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

+ 0
- 5
script/ci_install.sh View File

# --- LibC++ # --- LibC++
if [[ "${CXX}" = clang* ]] if [[ "${CXX}" = clang* ]]
then then
pwd
ls

if [[ ! -d "${DEPENDENCY_DIR}/llvm-source" ]] if [[ ! -d "${DEPENDENCY_DIR}/llvm-source" ]]
then then
echo "*** LLVM Source not available ***"
LLVM_RELEASE=release_50 LLVM_RELEASE=release_50
git clone --depth=1 -b ${LLVM_RELEASE} https://github.com/llvm-mirror/llvm.git llvm-source git clone --depth=1 -b ${LLVM_RELEASE} https://github.com/llvm-mirror/llvm.git llvm-source
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
../llvm-source ../llvm-source
make cxx -j4 make cxx -j4
else else
echo "*** LLVM Source available ***"
cd build cd build
fi fi



Loading…
Cancel
Save