From 8c8d8c95519ee708ae6cd43b09193859043ac408 Mon Sep 17 00:00:00 2001 From: Alastair McKinstry Date: Mon, 11 Apr 2022 08:32:17 +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