瀏覽代碼

Fix old GCC ABI used by Conan (#162).

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

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

@@ -5,20 +5,18 @@ set -ex
# Conan
apt-get install -y python3-pip
pip3 install conan
conan profile new default --detect

if [[ "${CXX}" == clang* ]]
then
export CXXFLAGS="-stdlib=libc++"
CONAN_STDLIB=libc++
else
CONAN_STDLIB=libstdc++11
conan profile update settings.compiler.libcxx=libstdc++11 default
fi

mkdir build && cd build

conan install \
-s compiler.libcxx=${CONAN_STDLIB} \
-g cmake_find_package \
-g cmake_paths \
..

Loading…
取消
儲存