-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
46 lines (40 loc) · 938 Bytes
/
.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
language: c
dist: bionic
sudo: false
branches:
only:
- master
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- pkg-config openmpi-bin libopenmpi-dev gfortran
before_install:
- test -n $CC && unset CC
- test -n $FC && unset FC
- test -n $CPPFLAGS && unset CPPFLAGS
- test -n FCFLAGS && unset FCFLAGS
before_script:
- export CC=mpicc
- export FC=mpif90
- export CPPFLAGS='-I/usr/include'
- export FCFLAGS=''
# - wget https://github.com/jmrosinski/GPTL/releases/download/v5.6.0/gptl-5.6.0.tar.gz
# - tar zxf gptl-5.6.0.tar.gz
# - pushd gptl-5.6.0
- autoreconf -i
- ./configure --prefix=/usr --enable-pmpi
- sudo make -j install
# - popd
env:
global:
- CC=mpicc
- FC=mpif90
- CPPFLAGS='-I/usr/include'
- FCFLAGS='-Waliasing -ffree-line-length-none -fno-range-check'
- LDFLAGS='-L/usr/lib'
script:
- autoreconf -i
- ./configure
- make -j distcheck