Skip to content
Snippets Groups Projects
Commit 569c1039 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

ci: cleans up NAG compiler flags

parent 023840f4
No related branches found
No related tags found
No related merge requests found
......@@ -144,9 +144,7 @@ include:
extends: .init_build_levante
variables:
COMPILER_ID: nag
FCFLAGS: -f2008 -colour -w=uep -g -gline -O0 -float-store -nan -C=all
# The vanilla libtool chokes if the following flags are provided as FCFLAGS:
NON_LIBTOOL_FCFLAGS: -Wc,-g -Wc,-pipe -Wc,--param,max-vartrack-size=200000000 -Wc,-mno-fma
FCFLAGS: -O2 -g -gline -f2008 -C=all -nan -colour
before_script:
- *levante_basic_environment
- module load openmpi/4.1.6-nag-7.2
......@@ -295,7 +293,6 @@ build_externals_levante_nag:
- .init_build_levante_nag
- .build_externals
variables:
YAXT_EXTRA_ARGS: FCFLAGS="$$FCFLAGS $NON_LIBTOOL_FCFLAGS"
# The vanilla libtool does not recognize NAG behind the MPI compiler wrapper:
MTIME_EXTRA_ARGS:
value: FC=`split_mpi_wrapper_command $FC; echo "$smwc_CC"`
......@@ -453,8 +450,6 @@ test_levante_nag:
- .init_build_levante_nag
- .init_externals
- .check_warnings
variables:
CFLAGS: -g -pipe --param max-vartrack-size=200000000 -mno-fma
script:
- test -f ./configure || ./autogen.sh
- >
......@@ -469,7 +464,6 @@ test_levante_nag:
--with-mtime-root=$EXTERNALS_DIR/mtime
--with-netcdf-root=/sw/spack-levante/netcdf-c-4.9.2-ytsqvg
--with-yaxt-root=$EXTERNALS_DIR/yaxt
FCFLAGS="$FCFLAGS $NON_LIBTOOL_FCFLAGS"
- make --output-sync=target check AM_COLOR_TESTS=no TESTS=
- make --silent --keep-going check
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment