forked from jcosborn/qex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
49 lines (45 loc) · 1.1 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
language: c
addons:
apt:
packages:
- numdiff
- mpich
- libmpich-dev
notifications:
email:
recipients:
on_success: always
on_failure: always
before_install:
- curl -LO https://download.open-mpi.org/release/hwloc/v2.2/hwloc-2.2.0.tar.bz2
- tar xf hwloc-2.2.0.tar.bz2
- cd hwloc*/
- ./configure --prefix="$PWD/../hwloc-v2" --disable-opencl --disable-netloc --disable-cairo
- make -j $(nproc)
- make install
- cd ..
- export PATH="$PWD/hwloc-v2/bin:$PATH"
- export LD_LIBRARY_PATH="$PWD/hwloc-v2/lib"
- free
- hwloc-ls
- cat /proc/cpuinfo
- cd ..
- #git clone -b master --depth 1 git://github.com/nim-lang/Nim
- git clone -b devel --depth 1 git://github.com/nim-lang/Nim
- cd Nim
- sh build_all.sh
- export PATH=$PWD/bin:$PATH
- echo $PATH
- nim -v
- cd ../qex
- nimble install -dy
script:
- ./bootstrap-travis
- QMPDIR=qmp QIODIR=qio ./configure
- #sed -i 's/mpicc/gcc/' config.nims
- make NIMFLAGS="--parallelBuild:2" tests
- ./testscript.sh
- ./runtests.sh
- make bench
- bin/benchLinalg