summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-06 15:34:16 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:57 (GMT)
commitf2ae83054a2e224250acc25aad8b4fd3d100bda9 (patch)
tree911b670bf21684eea9023d086c39ae466109e58c /config
parent269478552fded624f16e5ca4c18367e0e94c7442 (diff)
downloadhdf5-f2ae83054a2e224250acc25aad8b4fd3d100bda9.zip
hdf5-f2ae83054a2e224250acc25aad8b4fd3d100bda9.tar.gz
hdf5-f2ae83054a2e224250acc25aad8b4fd3d100bda9.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