Debian Codegraph @

.circleci/scripts/install-linux-cpp.sh

raw symbols SCIP
1 #!/bin/bash
2
3 set -euo pipefail
4
5 echo "installing cpp SDK..."
6
7 sudo apt-get update -y
8 sudo apt-get install -y clang
9 sudo apt-get install -y cmake
10 sudo apt-get install -y pkg-config
11 sudo apt-get install -y uuid-dev
12
13 echo "done installing cpp SDK"
14
15 clang++ --version
16 cmake --version
17
18 echo "building cpp runtime..."
19
20 pushd "runtime/Cpp/"
21 echo $PWD
22 rc=0
23 if [ $rc == 0 ]; then
24 cmake . -DCMAKE_BUILD_TYPE=release
25 rc=$?
26 fi
27 if [ $rc == 0 ]; then
28 make -j 8
29 rc=$?
30 fi
31 popd
32
33
34 echo "done building cpp runtime"
35