summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-06 15:34:16 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-06 15:34:16 (GMT)
commita3c57c730cd5109eec34fd63fa560ba6437e3441 (patch)
tree548da5135a5b36e5abb357038238669be081894f /config
parent3247291b1e9e8eb4261c8be7d0b6a3bc17870320 (diff)
downloadhdf5-a3c57c730cd5109eec34fd63fa560ba6437e3441.zip
hdf5-a3c57c730cd5109eec34fd63fa560ba6437e3441.tar.gz
hdf5-a3c57c730cd5109eec34fd63fa560ba6437e3441.tar.bz2
Update intel flags
Diffstat (limited to 'config')
-rw-r--r--config/cmake/HDFFortranCompilerFlags.cmake4
-rw-r--r--config/gnu-warnings/gfort-general1
-rw-r--r--config/intel-fflags1
3 files changed, 4 insertions, 2 deletions
diff --git a/config/cmake/HDFFortranCompilerFlags.cmake b/config/cmake/HDFFortranCompilerFlags.cmake
index a18d830..f31eba5 100644
--- a/config/cmake/HDFFortranCompilerFlags.cmake
+++ b/config/cmake/HDFFortranCompilerFlags.cmake
@@ -70,7 +70,7 @@ if (NOT MSVC)
# General flags
if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/intel-warnings/ifort-general")
- list (APPEND HDF5_CMAKE_Fortran_FLAGS "-stand:f08" "-free")
+ list (APPEND HDF5_CMAKE_Fortran_FLAGS "-stand:f03" "-free")
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/gnu-warnings/gfort-general")
list (APPEND HDF5_CMAKE_Fortran_FLAGS "-ffree-form" "-std=f2008" "-fimplicit-none")
@@ -136,7 +136,7 @@ if (NOT MSVC)
else ()
if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
#ADD_H5_FLAGS (HDF5_CMAKE_Fortran_FLAGS "${HDF5_SOURCE_DIR}/config/intel-warnings/win-ifort-general")
- list (APPEND HDF5_CMAKE_Fortran_FLAGS "/warn:all" "/stand:f08" "/free")
+ list (APPEND HDF5_CMAKE_Fortran_FLAGS "/warn:all" "/stand:f03" "/free")
endif ()
endif ()
diff --git a/config/gnu-warnings/gfort-general b/config/gnu-warnings/gfort-general
index 4028316..86b09b1 100644
--- a/config/gnu-warnings/gfort-general
+++ b/config/gnu-warnings/gfort-general
@@ -9,4 +9,5 @@
-Wimplicit-interface
-Wsurprising
-Wunderflow
+-Wuse-without-only
-pedantic
diff --git a/config/intel-fflags b/config/intel-fflags
index c620ef7..ed7ee52 100644
--- a/config/intel-fflags
+++ b/config/intel-fflags
@@ -82,6 +82,7 @@ if test "X-ifort" = "X-$f9x_vendor"; then
FC_BASENAME=ifort
F9XSUFFIXFLAG=""
FSEARCH_DIRS=""
+ H5_FCFLAGS="$H5_FCFLAGS -stand:f03 -free"
H5_FCFLAGS="$H5_FCFLAGS $(load_intel_arguments ifort-general)"
# Production