forked from StanfordLegion/task-bench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci.sh
executable file
·30 lines (26 loc) · 691 Bytes
/
ci.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
set -e
set -x
if [[ "$SYSTEM" = "MPI" ]]; then
export TASKBENCH_USE_${SYSTEM}=1
else
export USE_${SYSTEM}=1
fi
if [[ "$(uname)" = "Linux" ]]; then
sudo apt-get update -qq
sudo apt-get install -qq mpich libmpich-dev libpcre3-dev binutils-dev
if [[ $USE_CHAPEL -eq 1 || $USE_REGENT -eq 1 ]]; then
sudo apt-get install -qq clang-6.0 libclang-6.0-dev llvm-6.0-dev libedit-dev
fi
if [[ $USE_OMPSS2 -eq 1 ]]; then
sudo apt-get install -qq libnuma-dev gperf libboost1.65-dev
fi
if [[ $USE_PARSEC -eq 1 ]]; then
sudo snap install cmake --classic
export PATH=/snap/bin:$PATH
cmake --version
fi
fi
./get_deps.sh
./build_all.sh
./test_all.sh