-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
75 lines (73 loc) · 1.98 KB
/
.travis.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
language: cpp
matrix:
include:
# Ubuntu 20.04 + gcc on amd64
- arch: amd64
os: linux
dist: focal
compiler: gcc
# Ubuntu 20.04 + clang on amd64
- arch: amd64
os: linux
dist: focal
compiler: clang
# Ubuntu 18.04 + gcc on amd64
- arch: amd64
os: linux
dist: bionic
compiler: gcc
# Ubuntu 18.04 + clang on amd64
- arch: amd64
os: linux
dist: bionic
compiler: clang
# Ubuntu 20.04 + gcc on ppc64le
- arch: ppc64le
os: linux
dist: focal
compiler: gcc
# Ubuntu 20.04 + clang on ppc64le
- arch: ppc64le
os: linux
dist: focal
compiler: clang
# Ubuntu 18.04 + gcc on ppc64le
- arch: ppc64le
os: linux
dist: bionic
compiler: gcc
# Ubuntu 18.04 + clang on ppc64le
- arch: ppc64le
os: linux
dist: bionic
compiler: clang
# Ubuntu 20.04 + gcc on s390x
- arch: s390x
os: linux
dist: focal
compiler: gcc
# Ubuntu 18.04 + gcc on s390x
- arch: s390x
os: linux
dist: bionic
compiler: gcc
before_install:
- |
# PGASUS dependencies
sudo apt-get -y install libnuma-dev zlib1g-dev libhwloc-common libhwloc-dev
# Download and build Boost 1.60
wget -O boost_1_60_0.tar.gz https://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.gz/download
tar -xzf boost_1_60_0.tar.gz
cd boost_1_60_0
./bootstrap.sh --with-libraries=context,chrono,thread,system
./b2
sudo ./b2 install
cd ..
rm -Rf boost_1_60_0
script:
- |
# Build PGASUS
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
sudo make -j"$(nproc)"