diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-10-15 03:39:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-15 03:39:43 (GMT) |
commit | d5267f096e6575eb3f08dfb8638346eb87087797 (patch) | |
tree | cda0465056704d0afe85e3e51dde25d4a5fb06f7 /config/linux-gnulibc1 | |
parent | ef1edba2cea21dce47235664395701bccd41530d (diff) | |
download | hdf5-d5267f096e6575eb3f08dfb8638346eb87087797.zip hdf5-d5267f096e6575eb3f08dfb8638346eb87087797.tar.gz hdf5-d5267f096e6575eb3f08dfb8638346eb87087797.tar.bz2 |
Add support for AOCC & Flang w/ the Autotools (#3674)
* Adds a config/clang-fflags options file to support Flang
* Corrects missing "-Wl," from linker options in the libtool wrappers
when using Flang, the MPI Fortran compiler wrappers, and building
the shared library. This would often result in unrecognized options
like -soname.
* Enable -nomp w/ Flang to avoid linking to the OpenMPI library.
CMake can build the parallel, shared library w/ Fortran using AOCC
and Flang, so no changes were needed for that build system.
Fixes GitHub issues #3439, #1588, #366, #280
Diffstat (limited to 'config/linux-gnulibc1')
-rw-r--r-- | config/linux-gnulibc1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/linux-gnulibc1 b/config/linux-gnulibc1 index 9a7dbdb..7f3c339 100644 --- a/config/linux-gnulibc1 +++ b/config/linux-gnulibc1 @@ -122,6 +122,9 @@ fi # Figure out Intel FC compiler flags . $srcdir/config/intel-fflags +# Figure out Clang FC compiler flags +. $srcdir/config/clang-fflags + case $FC_BASENAME in # # Absoft compiler |