2016-04-30 14:29:41 +01:00
|
|
|
language: cpp
|
2016-05-01 18:43:14 +01:00
|
|
|
|
2016-04-30 14:29:41 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
2016-05-01 18:43:14 +01:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7.2
|
|
|
|
compiler: clang
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7.2
|
|
|
|
compiler: gcc
|
|
|
|
env: VERSION=-5
|
|
|
|
- compiler: gcc
|
2016-04-30 14:29:41 +01:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.9
|
2016-05-01 19:18:58 +01:00
|
|
|
- libmpfr-dev
|
|
|
|
- libgmp-dev
|
|
|
|
- libmpc-dev
|
|
|
|
- binutils-dev
|
2016-05-01 18:43:14 +01:00
|
|
|
env: VERSION=-4.9
|
|
|
|
- compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-5
|
2016-05-01 19:18:58 +01:00
|
|
|
- libmpfr-dev
|
|
|
|
- libgmp-dev
|
|
|
|
- libmpc-dev
|
|
|
|
- binutils-dev
|
2016-05-01 18:43:14 +01:00
|
|
|
env: VERSION=-5
|
|
|
|
- compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2016-05-01 22:53:28 +01:00
|
|
|
- llvm-toolchain-precise-3.7
|
2016-05-01 18:43:14 +01:00
|
|
|
packages:
|
2016-05-01 22:53:28 +01:00
|
|
|
- clang-3.7
|
2016-05-01 19:18:58 +01:00
|
|
|
- libmpfr-dev
|
|
|
|
- libgmp-dev
|
|
|
|
- libmpc-dev
|
|
|
|
- binutils-dev
|
2016-05-01 22:53:28 +01:00
|
|
|
env: VERSION=-3.7
|
2016-05-01 18:43:14 +01:00
|
|
|
- compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2016-05-01 22:53:28 +01:00
|
|
|
- llvm-toolchain-precise-3.8
|
2016-05-01 18:43:14 +01:00
|
|
|
packages:
|
2016-05-01 22:53:28 +01:00
|
|
|
- clang-3.8
|
2016-05-01 19:18:58 +01:00
|
|
|
- libmpfr-dev
|
|
|
|
- libgmp-dev
|
|
|
|
- libmpc-dev
|
|
|
|
- binutils-dev
|
2016-05-01 22:53:28 +01:00
|
|
|
env: VERSION=-3.8
|
2016-05-01 18:43:14 +01:00
|
|
|
|
|
|
|
before_install:
|
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-05-01 19:34:20 +01:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc5; fi
|
2016-05-01 19:32:28 +01:00
|
|
|
|
2016-05-01 18:43:14 +01:00
|
|
|
install:
|
|
|
|
- export CC=$CC$VERSION
|
|
|
|
- export 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-05-01 18:43:14 +01:00
|
|
|
|
|
|
|
script:
|
|
|
|
- ./scripts/reconfigure_script
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2016-05-01 22:53:28 +01:00
|
|
|
- ../configure CXXFLAGS="-fopenmp -msse4.2 -O3 -std=c++11" LIBS="-fopenmp -lmpfr -lgmp" --enable-precision=single --enable-simd=SSE4 --enable-comms=none
|
2016-05-01 23:00:35 +01:00
|
|
|
- cat config.log
|
2016-05-01 18:58:03 +01:00
|
|
|
- make -j4
|
2016-05-01 22:53:28 +01:00
|
|
|
- ./benchmarks/Benchmark_dwf --threads 2
|