9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-07 05:53:37 +01:00

Use ATLAS on travis

This commit is contained in:
Anthony Scemama 2020-08-26 10:11:52 +02:00
parent 3edc33e05b
commit 628564b9b0
2 changed files with 11 additions and 9 deletions

View File

@ -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

View File

@ -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