This repository was archived by the owner on Sep 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
ompi/mpi/fortran/mpif-h/profile Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,8 @@ AC_DEFUN([OMPI_SETUP_MPI_FORTRAN],[
309309
310310 # We need INTERFACE, ISO_FORTRAN_ENV, and STORAGE_SIZE() support
311311 # to build MPI_SIZEOF support
312- AS_IF([test $OMPI_FORTRAN_HAVE_INTERFACE -eq 1 && \
312+ AS_IF([test $ompi_fortran_happy -eq 1 && \
313+ test $OMPI_FORTRAN_HAVE_INTERFACE -eq 1 && \
313314 test $OMPI_FORTRAN_HAVE_ISO_FORTRAN_ENV -eq 1 && \
314315 test $OMPI_FORTRAN_HAVE_STORAGE_SIZE -eq 1],
315316 [OMPI_FORTRAN_BUILD_SIZEOF= 1],
Original file line number Diff line number Diff line change @@ -45,8 +45,6 @@ AM_CPPFLAGS = -DOMPI_PROFILE_LAYER=1 -DOMPI_COMPILING_FORTRAN_WRAPPERS=1
4545noinst_LTLIBRARIES =
4646if BUILD_PMPI_FORTRAN_MPIFH_BINDINGS_LAYER
4747noinst_LTLIBRARIES += libmpi_mpifh_pmpi.la
48- else
49- noinst_LTLIBRARIES +=
5048endif
5149
5250headers = \
@@ -437,12 +435,12 @@ CLEANFILES += psizeof_f.f90
437435# Build the MPI_SIZEOF code in a separate convenience library (see
438436# lengthy comment in ompi/mpi/fortran/mpif-h/Makefile.am for an
439437# explanation why).
440- # if BUILD_FORTRAN_SIZEOF
438+ if BUILD_FORTRAN_SIZEOF
441439noinst_LTLIBRARIES += libmpi_mpifh_psizeof.la
442440# Do not dist this file; it is generated
443441nodist_libmpi_mpifh_psizeof_la_SOURCES = psizeof_f.f90
444442libmpi_mpifh_pmpi_la_LIBADD += libmpi_mpifh_psizeof.la
445- # endif
443+ endif
446444
447445sizeof_pl =$(top_srcdir ) /ompi/mpi/fortran/base/gen-mpi-sizeof.pl
448446
You can’t perform that action at this time.
0 commit comments