diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-10-23 19:50:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 19:50:15 (GMT) |
commit | a6d1bda6d2da6121a2d8f66cd7a1e0d2cafe2da6 (patch) | |
tree | 8bc2404121354cdddaced4ed8299d091d03e4269 /config/netbsd | |
parent | 744a20fc21be7437bb2449e6b6165702703a1349 (diff) | |
download | hdf5-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/netbsd')
-rw-r--r-- | config/netbsd | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/config/netbsd b/config/netbsd index 04761f2..0ed84f7 100644 --- a/config/netbsd +++ b/config/netbsd @@ -26,7 +26,10 @@ fi # Figure out 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 @@ -36,6 +39,10 @@ if test "X-" = "X-$FC"; then FC=gfortran FC_BASENAME=gfortran ;; + icx*) + FC=ifx + FC_BASENAME=ifx + ;; icc*) FC=ifort FC_BASENAME=ifort @@ -50,6 +57,8 @@ fi # Figure out FORTRAN compiler flags . $srcdir/config/gnu-fflags -# Figure out Intel F90 compiler flags +# Figure out Intel oneAPI FC compiler flags . $srcdir/config/intel-fflags +# Figure out Intel classic FC compiler flags +. $srcdir/config/oneapi-fflags |