|
12345678910111213141516171819202122232425 |
- #!/bin/bash
-
- set -ex
-
- # Conan
- apt-get install -y python3-pip
- pip3 install conan
-
- # #156 Workaround for conan#4938
- mkdir -p ~/.conan
- cp script/settings.yml ~/.conan/
-
-
- if [[ "${CXX}" == clang* ]]
- then
- export CXXFLAGS="-stdlib=libc++"
- fi
-
- mkdir build && cd build
- conan install --build missing -s compiler.libcxx=libstdc++11 ..
-
- cmake ..
- make
- make unittest
-
|