1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-15 02:05:37 +00:00
Grid/.travis.yml

47 lines
1.5 KiB
YAML
Raw Normal View History

2016-04-30 14:29:41 +01:00
language: cpp
2016-05-01 18:43:14 +01:00
2016-06-14 19:07:01 +01:00
cache:
directories:
- clang
2016-04-30 14:29:41 +01:00
matrix:
include:
2016-05-01 18:43:14 +01:00
- os: osx
osx_image: xcode8.3
2016-05-01 18:43:14 +01:00
compiler: clang
before_install:
2016-06-14 19:07:01 +01:00
- export GRIDDIR=`pwd`
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang/bin ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mkdir clang; mv clang+*/* clang/; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export PATH="${GRIDDIR}/clang/bin:${PATH}"; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export LD_LIBRARY_PATH="${GRIDDIR}/clang/lib:${LD_LIBRARY_PATH}"; fi
2016-05-01 19:18:58 +01:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libmpc; fi
2016-08-30 14:44:10 +01:00
2016-05-01 18:43:14 +01:00
install:
- export CC=$CC$VERSION
- export CXX=$CXX$VERSION
2016-06-14 19:07:01 +01:00
- echo $PATH
2017-05-05 21:25:35 +01:00
- which autoconf
- autoconf --version
- which automake
- automake --version
2016-06-14 19:07:01 +01:00
- which $CC
- $CC --version
- which $CXX
- $CXX --version
2016-05-01 19:32:28 +01:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LDFLAGS='-L/usr/local/lib'; fi
2016-08-30 14:44:10 +01:00
2016-05-01 18:43:14 +01:00
script:
2016-08-01 09:38:40 +01:00
- ./bootstrap.sh
2016-05-01 18:43:14 +01:00
- mkdir build
- cd build
2016-08-01 09:38:40 +01:00
- ../configure --enable-precision=single --enable-simd=SSE4 --enable-comms=none
- make -j4
2017-04-13 10:35:20 +01:00
- ./benchmarks/Benchmark_dwf --threads 1 --debug-signals
2016-07-07 22:51:37 +01:00
- echo make clean
2016-08-01 09:38:40 +01:00
- ../configure --enable-precision=double --enable-simd=SSE4 --enable-comms=none
2016-08-30 14:44:10 +01:00
- make -j4
2017-04-13 10:35:20 +01:00
- ./benchmarks/Benchmark_dwf --threads 1 --debug-signals
2017-05-05 20:42:08 +01:00
- make check