Skip to content

Commit a7b1619

Browse files
committed
template
1 parent 5842330 commit a7b1619

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# gfortran >= 6 is required
22
language: c
3-
fast_finish: true
43

54
os:
65
- linux
@@ -12,6 +11,7 @@ group: travis_latest
1211

1312
git:
1413
depth: 3
14+
quiet: true
1515

1616
addons:
1717
apt:
@@ -28,8 +28,7 @@ addons:
2828
before_install:
2929
- if [[ $TRAVIS_OS_NAME == osx ]]; then
3030
brew update > /dev/null;
31-
brew install gcc || true > /dev/null;
32-
brew link --overwrite gcc > /dev/null;
31+
brew install gcc || brew link --overwrite gcc > /dev/null;
3332
export FC=gfortran;
3433
brew install hdf5 netcdf > /dev/null;
3534
fi

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ endif()
2626
if(${CMAKE_Fortran_COMPILER_ID} STREQUAL Intel)
2727
set(FFLAGS -check all -traceback -warn -debug extended)
2828
elseif(${CMAKE_Fortran_COMPILER_ID} STREQUAL GNU)
29-
if(${CMAKE_Fortran_COMPILER_VERSION} VERSION_GREATER_EQUAL 8.1)
29+
if(${CMAKE_Fortran_COMPILER_VERSION} VERSION_GREATER_EQUAL 8)
3030
set(FFLAGS -std=f2018)
31-
else()
32-
set(FFLAGS -std=f2008ts)
3331
endif()
3432
list(APPEND FFLAGS -march=native -Wall -Wextra -Wpedantic -Werror=array-bounds -fbacktrace -fcheck=all)
3533
# if you've compiled these libraries with ifort, you can move them up to use with ifort

0 commit comments

Comments
 (0)