From 628564b9b0c9d22ee51500c5fdefebbf4ccd73b6 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Wed, 26 Aug 2020 10:11:52 +0200 Subject: [PATCH] Use ATLAS on travis --- .travis.yml | 8 +++++--- config/travis.cfg | 12 ++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 378c232e..a5001f33 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,9 +19,11 @@ addons: packages: - gfortran - gcc + - libatlas-base-dev - liblapack-dev - libblas-dev - wget + - eatmydata env: - OPAMROOT=$HOME/.opam @@ -43,9 +45,9 @@ stages: jobs: include: - stage: configuration - script: travis/configuration.sh + script: eatmydata travis/configuration.sh - stage: compilation - script: travis/compilation.sh + script: eatmydata travis/compilation.sh - stage: testing - script: travis/testing.sh + script: eatmydata travis/testing.sh diff --git a/config/travis.cfg b/config/travis.cfg index 2be5d9a0..a609002e 100644 --- a/config/travis.cfg +++ b/config/travis.cfg @@ -11,9 +11,9 @@ # [COMMON] FC : gfortran -ffree-line-length-none -I . -g -fPIC -LAPACK_LIB : -llapack -lblas +LAPACK_LIB : -llapack -lblas IRPF90 : irpf90 -IRPF90_FLAGS : --ninja --align=32 --assert +IRPF90_FLAGS : --ninja --align=32 --assert # Global options ################ @@ -35,14 +35,14 @@ OPENMP : 1 ; Append OpenMP flags # -ffast-math and the Fortran-specific # -fno-protect-parens and -fstack-arrays. [OPT] -FCFLAGS : -Ofast -march=native +FCFLAGS : -Ofast -march=native # Profiling flags ################# # [PROFILE] -FC : -p -g +FC : -p -g FCFLAGS : -Ofast -fimplicit-none @@ -53,7 +53,7 @@ FCFLAGS : -Ofast -fimplicit-none # -g : Extra debugging information # [DEBUG] -FCFLAGS : -Ofast -fcheck=all -g -Waliasing -Wampersand -Wconversion -Wsurprising -Wintrinsics-std -Wno-tabs -Wintrinsic-shadow -Wline-truncation -Wreal-q-constant +FCFLAGS : -Ofast -fcheck=all -g -Waliasing -Wampersand -Wconversion -Wsurprising -Wintrinsics-std -Wno-tabs -Wintrinsic-shadow -Wline-truncation -Wreal-q-constant # OpenMP flags @@ -61,5 +61,5 @@ FCFLAGS : -Ofast -fcheck=all -g -Waliasing -Wampersand -Wconversion -Wsurprising # [OPENMP] FC : -fopenmp -IRPF90_FLAGS : --openmp +IRPF90_FLAGS : --openmp