File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 5252#
5353# ecbuild_define_compile_options( NAME <name> DESCRIPTION <description> LANGUAGE <language> [ REQUIRED ]
5454# [ GNU <values> ] [ NEC <values> ] [ NVHPC <values> ] [ Intel <values> ]
55- # [ IntelLLVM <values> ] [ Cray <values> ] [ Flang <values> ] )
55+ # [ IntelLLVM <values> ] [ Cray <values> ] [ Flang <values> ] [ NAG <values> ] )
5656#
5757# Options
5858# -------
8787# Flang <values> : optional
8888# The values for the compile option for Flang compiler and given LANGUAGE
8989#
90+ # NAG <values> : optional
91+ # The values for the compile option for NAG compiler and given LANGUAGE
92+ #
9093# REQUIRED : optional
9194# fail if the compile_options for the current compiler are not implemented,
9295# to avoid nasty surpises
9598
9699
97100function ( ecbuild_define_compile_options )
98- set ( supported_compiler_ids GNU NEC NVHPC Intel IntelLLVM Cray Flang )
101+ set ( supported_compiler_ids GNU NEC NVHPC Intel IntelLLVM Cray Flang NAG )
99102
100103 set ( options REQUIRED )
101104 set ( single_value_args NAME DESCRIPTION LANGUAGE )
@@ -153,6 +156,7 @@ ecbuild_define_compile_options(
153156 IntelLLVM # empty (default)
154157 Cray # empty (default)
155158 Flang # empty (default)
159+ NAG # empty (default)
156160)
157161
158162### ECBUILD_Fortran_COMPILE_OPTIONS_REAL8
@@ -169,6 +173,7 @@ ecbuild_define_compile_options(
169173 IntelLLVM -r8
170174 Cray -sreal64
171175 Flang -fdefault-real-8
176+ NAG -double
172177)
173178
174179### ECBUILD_Fortran_COMPILE_OPTIONS_CHECK_BOUNDS
You can’t perform that action at this time.
0 commit comments