summaryrefslogtreecommitdiffstats
path: root/config/freebsd
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-10-23 19:50:15 (GMT)
committerGitHub <noreply@github.com>2023-10-23 19:50:15 (GMT)
commita6d1bda6d2da6121a2d8f66cd7a1e0d2cafe2da6 (patch)
tree8bc2404121354cdddaced4ed8299d091d03e4269 /config/freebsd
parent744a20fc21be7437bb2449e6b6165702703a1349 (diff)
downloadhdf5-a6d1bda6d2da6121a2d8f66cd7a1e0d2cafe2da6.zip
hdf5-a6d1bda6d2da6121a2d8f66cd7a1e0d2cafe2da6.tar.gz
hdf5-a6d1bda6d2da6121a2d8f66cd7a1e0d2cafe2da6.tar.bz2
Update Autotools to correctly configure oneAPI (#3751)
* Update Autotools to correctly configure oneAPI Splits the Intel config files under the Autotools into 'classic' Intel and oneAPI versions, fixing 'unsupported option' messages. Also turns off `-check uninit` (new in 2023) in Fortran, which kills the H5_buildiface program due to false positives. * Enable Fortran in oneAPI CI workflow * Turn on Fortran in CMake, update LD_LIBRARY_PATH * Go back to disabling Fortran w/ Intel For some reason there's a linking problem w/ Fortran error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
Diffstat (limited to 'config/freebsd')
-rw-r--r--config/freebsd16
1 files changed, 13 insertions, 3 deletions
diff --git a/config/freebsd b/config/freebsd
index 2fb962f..b0e825a 100644
--- a/config/freebsd
+++ b/config/freebsd
@@ -29,7 +29,10 @@ fi
# Figure out GNU C compiler flags
. $srcdir/config/gnu-flags
-# Figure out Intel C compiler flags
+# Figure out Intel oneAPI C compiler flags
+. $srcdir/config/oneapi-flags
+
+# Figure out Intel classic C compiler flags
. $srcdir/config/intel-flags
# The default Fortran 90 compiler
@@ -43,6 +46,10 @@ if test "X-" = "X-$FC"; then
FC=gfortran
FC_BASENAME=gfortran
;;
+ icx*)
+ FC=ifx
+ FC_BASENAME=ifx
+ ;;
icc*)
FC=ifort
FC_BASENAME=ifort
@@ -57,8 +64,11 @@ fi
# Figure out FORTRAN compiler flags
. $srcdir/config/gnu-fflags
-# Figure out Intel F90 compiler flags
-. $srcdir/config/intel-fflags
+# Figure out Intel oneAPI FC compiler flags
+. $srcdir/config/oneapi-fflags
+
+# Figure out Intel classic FC compiler flags
+. $srcdir/config/classic-fflags
# The default C++ compiler