瀏覽代碼

Standard libraries of the ci builds updated.

main
offa 5 年之前
父節點
當前提交
69a6726f65
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      script/ci_build.sh

+ 4
- 1
script/ci_build.sh 查看文件

@@ -14,10 +14,13 @@ cp script/settings.yml ~/.conan/
if [[ "${CXX}" == clang* ]]
then
export CXXFLAGS="-stdlib=libc++"
CONAN_STDLIB=libc++
else
CONAN_STDLIB=libstdc++11
fi

mkdir build && cd build
conan install --build missing -s compiler.libcxx=libstdc++11 ..
conan install --build missing -s compiler.libcxx=${CONAN_STDLIB} ..

cmake ..
make

Loading…
取消
儲存