Skip to content

Commit 01985fb

Browse files
authored
Merge pull request open-mpi#5100 from ggouaillardet/topic/v3.1.x/use-mpi-tkr-sizeof
fortran: build MPI_Sizeof() interface in use-mpi-tkr bindings
2 parents d950651 + dbf8826 commit 01985fb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ompi/mpi/fortran/configure-fortran-output.h.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
! Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
44
! Copyright (c) 2009-2012 Los Alamos National Security, LLC.
55
! All rights reserved.
6-
! Copyright (c) 2017 Research Organization for Information Science
6+
! Copyright (c) 2017-2018 Research Organization for Information Science
77
! and Technology (RIST). All rights reserved.
88
!
99
! $COPYRIGHT$
@@ -46,6 +46,8 @@
4646
! Line 2 of the ignore TKR syntax
4747
#define OMPI_FORTRAN_IGNORE_TKR_TYPE @OMPI_FORTRAN_IGNORE_TKR_TYPE@
4848
49+
50+
#define OMPI_FORTRAN_BUILD_SIZEOF @OMPI_FORTRAN_BUILD_SIZEOF@
4951
! Integers
5052
5153
#define OMPI_HAVE_FORTRAN_INTEGER1 @OMPI_HAVE_FORTRAN_INTEGER1@

ompi/mpi/fortran/use-mpi-tkr/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# University of Stuttgart. All rights reserved.
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
13-
# Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
13+
# Copyright (c) 2006-2018 Cisco Systems, Inc. All rights reserved
1414
# Copyright (c) 2007 Los Alamos National Security, LLC. All rights
1515
# reserved.
1616
# Copyright (c) 2014-2016 Research Organization for Information Science
@@ -90,6 +90,7 @@ nodist_lib@OMPI_LIBMPI_NAME@_usempi_la_SOURCES += \
9090
mpi-tkr-sizeof.h \
9191
mpi-tkr-sizeof.f90
9292
endif
93+
mpi.lo: $(nodist_lib@OMPI_LIBMPI_NAME@_usempi_la_SOURCES)
9394

9495
# Note that we invoke some OPAL functions directly in
9596
# libmpi_usempi.la, so we need to link in the OPAL library directly

0 commit comments

Comments
 (0)