1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 19:25:56 +01:00

Reset travis

This commit is contained in:
Guido Cossu 2016-08-30 14:44:10 +01:00
parent 655c893f86
commit 005dcc51aa

View File

@ -9,19 +9,10 @@ matrix:
- os: osx - os: osx
osx_image: xcode7.2 osx_image: xcode7.2
compiler: clang compiler: clang
env:
matrix:
- PRECISION=single
- PRECISION=double
- os: osx - os: osx
osx_image: xcode7.2 osx_image: xcode7.2
compiler: gcc compiler: gcc
env: env: VERSION=-5
global:
- VERSION=-5
matrix:
- PRECISION=single
- PRECISION=double
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
@ -33,12 +24,7 @@ matrix:
- libgmp-dev - libgmp-dev
- libmpc-dev - libmpc-dev
- binutils-dev - binutils-dev
env: env: VERSION=-4.9
global:
- VERSION=-4.9
matrix:
- PRECISION=single
- PRECISION=double
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
@ -50,12 +36,7 @@ matrix:
- libgmp-dev - libgmp-dev
- libmpc-dev - libmpc-dev
- binutils-dev - binutils-dev
env: env: VERSION=-5
global:
- VERSION=-5
matrix:
- PRECISION=single
- PRECISION=double
- compiler: clang - compiler: clang
addons: addons:
apt: apt:
@ -67,12 +48,7 @@ matrix:
- libgmp-dev - libgmp-dev
- libmpc-dev - libmpc-dev
- binutils-dev - binutils-dev
env: env: CLANG_LINK=http://llvm.org/releases/3.8.0/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
global:
- CLANG_LINK=http://llvm.org/releases/3.8.0/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
matrix:
- PRECISION=single
- PRECISION=double
- compiler: clang - compiler: clang
addons: addons:
apt: apt:
@ -84,12 +60,7 @@ matrix:
- libgmp-dev - libgmp-dev
- libmpc-dev - libmpc-dev
- binutils-dev - binutils-dev
env: env: CLANG_LINK=http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
global:
- CLANG_LINK=http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
matrix:
- PRECISION=single
- PRECISION=double
before_install: before_install:
- export GRIDDIR=`pwd` - export GRIDDIR=`pwd`
@ -99,7 +70,7 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libmpc; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libmpc; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc5; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc5; fi
install: install:
- export CC=$CC$VERSION - export CC=$CC$VERSION
- export CXX=$CXX$VERSION - export CXX=$CXX$VERSION
@ -109,13 +80,15 @@ install:
- which $CXX - which $CXX
- $CXX --version - $CXX --version
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LDFLAGS='-L/usr/local/lib'; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LDFLAGS='-L/usr/local/lib'; fi
script: script:
- ./scripts/reconfigure_script - ./scripts/reconfigure_script
- mkdir build - mkdir build
- cd build - cd build
- ../configure CXXFLAGS="-msse4.2 -O3 -std=c++11" LIBS="-lmpfr -lgmp" --enable-precision=$PRECISION --enable-simd=SSE4 --enable-comms=none - ../configure CXXFLAGS="-msse4.2 -O3 -std=c++11" LIBS="-lmpfr -lgmp" --enable-precision=single --enable-simd=SSE4 --enable-comms=none
- make -j4 - make -j4
- ./benchmarks/Benchmark_dwf --threads 1 - ./benchmarks/Benchmark_dwf --threads 1
- make clean
- ../configure CXXFLAGS="-msse4.2 -O3 -std=c++11" LIBS="-lmpfr -lgmp" --enable-precision=double --enable-simd=SSE4 --enable-comms=none
- make -j4
- ./benchmarks/Benchmark_dwf --threads 1