From 37a010408eb0666a29cef09d893dd5c6cc788af9 Mon Sep 17 00:00:00 2001 From: Alastair McKinstry Date: Sun, 29 May 2022 10:51:27 +0100 Subject: [PATCH] mpifort =================================================================== Gbp-Pq: Name mpifort.patch --- ompi/tools/wrappers/mpifort-wrapper-data.txt.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ompi/tools/wrappers/mpifort-wrapper-data.txt.in b/ompi/tools/wrappers/mpifort-wrapper-data.txt.in index 27a7c05e..c57bf078 100644 --- a/ompi/tools/wrappers/mpifort-wrapper-data.txt.in +++ b/ompi/tools/wrappers/mpifort-wrapper-data.txt.in @@ -12,6 +12,7 @@ language=Fortran compiler_env=FC compiler_flags_env=FCFLAGS compiler=@FC@ +compiler_version=@COMPILER_VERSION@ preprocessor_flags= compiler_flags=@OMPI_WRAPPER_EXTRA_FCFLAGS@ linker_flags=@OMPI_WRAPPER_EXTRA_FC_LDFLAGS@ @@ -24,5 +25,5 @@ libs_static=@OMPI_FORTRAN_USEMPIF08_LIB@ @OMPI_FORTRAN_USEMPI_LIB@ -l@OMPI_LIBMP dyn_lib_file=lib@OMPI_LIBMPI_NAME@.@OPAL_DYN_LIB_SUFFIX@ static_lib_file=lib@OMPI_LIBMPI_NAME@.a required_file=@OMPI_WRAPPER_FORTRAN_REQUIRED_FILE@ -includedir=${includedir} -libdir=${libdir} +includedir=${libdir}/../../fortran/@COMPILER_VERSION@/openmpi +libdir=${libdir}/fortran/@FC@ -- 2.30.2