forked from milot-mirdita/mmseqs2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
130 lines (127 loc) · 3.16 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
language: shell
os: linux
dist: xenial
addons:
apt:
packages: &default_packages
- cmake
- make
- zlib1g-dev
- libbz2-dev
- vim-common
- shellcheck
jobs:
include:
- addons:
apt:
packages:
- *default_packages
- build-essential
- g++-8
- gcc-8
arch: arm64
env: CC=gcc-8 CXX=g++-8 MMSEQS_NUM_THREADS=4
dist: bionic
- addons:
apt:
packages:
- *default_packages
- build-essential
- g++-8
- gcc-8
arch: ppc64le
dist: bionic
env: CC=gcc-8 CXX=g++-8 MMSEQS_NUM_THREADS=4
- addons:
apt:
packages:
- *default_packages
- clang-5.0
- libc++-dev
- libomp-dev
env: CC=clang-5.0 CXX=clang++-5.0
- addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-10 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- *default_packages
- clang-10
- libc++-10-dev
- libc++abi-10-dev
- libomp-10-dev
env: CC=clang-10 CXX=clang++-10
- addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-10 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- *default_packages
- clang-10
- libc++-10-dev
- libc++abi-10-dev
- libomp-10-dev
- mpi-default-dev
- mpi-default-bin
env: MPI=1 CC=clang-10 CXX=clang++-10
- addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-4.9
- g++-4.9
env: CC=gcc-4.9 CXX=g++-4.9
- addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-9
- g++-9
env: CC=gcc-9 CXX=g++-9
- addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-9
- g++-9
- mpi-default-dev
- mpi-default-bin
env: MPI=1 CC=gcc-9 CXX=g++-9
- addons:
apt:
sources:
- sourceline: 'deb https://apt.repos.intel.com/oneapi all main'
key_url: 'https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB'
packages:
- *default_packages
- build-essential
- intel-oneapi-icc
env: CC=icc CXX=icpc
# icc is broken with beta08
if: false
fast_finish: true
before_install:
- export CC
- export CXX
script:
- |
if [ -e "/opt/intel/inteloneapi/setvars.sh" ]; then source /opt/intel/inteloneapi/setvars.sh; fi; \
mkdir build; cd build; \
cmake -DHAVE_MPI="$([[ -z "$MPI" ]]; echo $?)" -DENABLE_WERROR=1 -DHAVE_TESTS=1 ..; \
make -j ${MMSEQS_NUM_THREADS:-$(nproc --all)}; \
mkdir path; \
printf '#!/bin/sh\n/usr/bin/tee "$@" | tail\n' > path/tee; \
chmod +x path/tee; \
export PATH="$(readlink -f path):$PATH"; \
export TTY=0; \
../util/regression/run_regression.sh ./src/mmseqs SCRATCH;