forked from open-mpi/ompi
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
in order to solve an egg and the chicken problem, in which mpiext need mpi-f08-types.mod and/but use-mpi-f08[-desc] needs mpiext, add an extra step - build fortran 2008 modules only - build fortran 2008 mpi extensions - and then build fortran 2008 bindings Fixes open-mpi#3605 Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
- Loading branch information
1 parent
9b43de1
commit 2c71c27
Showing
16 changed files
with
203 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# -*- makefile -*- | ||
# | ||
# Copyright (c) 2006-2012 Cisco Systems, Inc. All rights reserved. | ||
# Copyright (c) 2015 Research Organization for Information Science | ||
# and Technology (RIST). All rights reserved. | ||
# Copyright (c) 2016 IBM Corporation. All rights reserved. | ||
# | ||
# $COPYRIGHT$ | ||
# | ||
# Additional copyrights may follow | ||
# | ||
# $HEADER$ | ||
# | ||
|
||
# This Makefile is only relevant if we're building the "use mpi_f08" | ||
# MPI bindings. | ||
if OMPI_BUILD_FORTRAN_USEMPIF08_BINDINGS | ||
|
||
AM_FCFLAGS = -I$(top_builddir)/ompi/include -I$(top_srcdir)/ompi/include \ | ||
-I$(top_srcdir) $(FCFLAGS) | ||
|
||
module_sentinel_file = \ | ||
libforce_usempif08_internal_modules_to_be_built.la | ||
|
||
noinst_LTLIBRARIES = $(module_sentinel_file) | ||
|
||
# f08 support modules | ||
|
||
libforce_usempif08_internal_modules_to_be_built_la_SOURCES = \ | ||
mpi-f08-types.f90 \ | ||
mpi-f08-interfaces.F90 | ||
|
||
# | ||
# Clean up all F90 module files | ||
# | ||
|
||
MOSTLYCLEANFILES = *.mod | ||
|
||
# | ||
# Automake doesn't do Fortran dependency analysis, so must list them | ||
# manually here. Bummer! | ||
# | ||
|
||
mpi-f08-types.lo: mpi-f08-types.f90 | ||
mpi-f08-interfaces.lo: mpi-f08-interfaces.F90 mpi-f08-types.lo | ||
|
||
|
||
install-exec-hook: | ||
@ for file in `ls *.mod`; do \ | ||
echo $(INSTALL) $$file $(DESTDIR)$(libdir); \ | ||
$(INSTALL) $$file $(DESTDIR)$(libdir); \ | ||
done | ||
|
||
uninstall-local: | ||
@ for file in `ls *.mod`; do \ | ||
echo rm -f $(DESTDIR)$(libdir)/$$file; \ | ||
rm -f $(DESTDIR)$(libdir)/$$file; \ | ||
done | ||
|
||
else | ||
|
||
# Need to have empty targets because AM can't handle having an | ||
# AM_CONDITIONAL was targets in the "if" statement but not in the | ||
# "else". :-( | ||
|
||
install-exec-hook: | ||
uninstall-local: | ||
|
||
endif |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.