瀏覽代碼

Standard libraries of the ci builds updated.

main
offa 6 年之前
父節點
當前提交
69a6726f65
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      script/ci_build.sh

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

if [[ "${CXX}" == clang* ]] if [[ "${CXX}" == clang* ]]
then then
export CXXFLAGS="-stdlib=libc++" export CXXFLAGS="-stdlib=libc++"
CONAN_STDLIB=libc++
else
CONAN_STDLIB=libstdc++11
fi fi


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


cmake .. cmake ..
make make

Loading…
取消
儲存