Skip to content

Commit

Permalink
fortran: create the Fortran module directory
Browse files Browse the repository at this point in the history
Refs. #12787

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
  • Loading branch information
ggouaillardet committed Nov 18, 2024
1 parent 7b2ac18 commit 3611519
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion ompi/mpi/fortran/mpiext-use-mpi-f08/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Copyright (c) 2012-2019 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2017-2020 Research Organization for Information Science
# Copyright (c) 2017-2024 Research Organization for Information Science
# and Technology (RIST). All rights reserved.
# Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
# $COPYRIGHT$
Expand Down Expand Up @@ -72,6 +72,7 @@ CLEANFILES += *.i90
# may generate different filenames, so we have to use a glob. :-(
#
install-exec-hook:
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
@ for file in `ls *.mod`; do \
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
Expand Down
3 changes: 2 additions & 1 deletion ompi/mpi/fortran/mpiext-use-mpi/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Copyright (c) 2012-2019 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2020 Research Organization for Information Science
# Copyright (c) 2020-2024 Research Organization for Information Science
# and Technology (RIST). All rights reserved.
# Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
# $COPYRIGHT$
Expand Down Expand Up @@ -70,6 +70,7 @@ CLEANFILES += *.i90
# may generate different filenames, so we have to use a glob. :-(
#
install-exec-hook:
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
@ for file in `ls *.mod`; do \
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
Expand Down
3 changes: 2 additions & 1 deletion ompi/mpi/fortran/use-mpi-f08/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Copyright (c) 2012-2013 Inria. All rights reserved.
# Copyright (c) 2013-2018 Los Alamos National Security, LLC. All rights
# reserved.
# Copyright (c) 2015-2021 Research Organization for Information Science
# Copyright (c) 2015-2024 Research Organization for Information Science
# and Technology (RIST). All rights reserved.
# Copyright (c) 2016 IBM Corporation. All rights reserved.
# Copyright (c) 2017-2018 FUJITSU LIMITED. All rights reserved.
Expand Down Expand Up @@ -565,6 +565,7 @@ mpi-f08.lo: $(module_sentinel_files) $(SIZEOF_H)
# may generate different filenames, so we have to use a glob. :-(

install-exec-hook:
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
@ for file in `ls *.mod`; do \
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
Expand Down
3 changes: 2 additions & 1 deletion ompi/mpi/fortran/use-mpi-f08/mod/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Copyright (c) 2012-2013 Inria. All rights reserved.
# Copyright (c) 2013 Los Alamos National Security, LLC. All rights
# reserved.
# Copyright (c) 2015-2020 Research Organization for Information Science
# Copyright (c) 2015-2024 Research Organization for Information Science
# and Technology (RIST). All rights reserved.
# Copyright (c) 2016 IBM Corporation. All rights reserved.
#
Expand Down Expand Up @@ -101,6 +101,7 @@ pmpi-f08-interfaces.lo: mpi-f08-rename.h
# may generate different filenames, so we have to use a glob. :-(

install-exec-hook:
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
@ for file in `ls *.mod`; do \
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
Expand Down
3 changes: 2 additions & 1 deletion ompi/mpi/fortran/use-mpi-ignore-tkr/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- makefile -*-
#
# Copyright (c) 2006-2019 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2015-2021 Research Organization for Information Science
# Copyright (c) 2015-2024 Research Organization for Information Science
# and Technology (RIST). All rights reserved.
# Copyright (c) 2016 IBM Corporation. All rights reserved.
#
Expand Down Expand Up @@ -135,6 +135,7 @@ CLEANFILES += *.i90
# may generate different filenames, so we have to use a glob. :-(

install-exec-hook:
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
@ for file in `ls *.mod`; do \
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
Expand Down
3 changes: 2 additions & 1 deletion ompi/mpi/fortran/use-mpi-tkr/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Copyright (c) 2006-2021 Cisco Systems, Inc. All rights reserved
# Copyright (c) 2007 Los Alamos National Security, LLC. All rights
# reserved.
# Copyright (c) 2014-2021 Research Organization for Information Science
# Copyright (c) 2014-2024 Research Organization for Information Science
# and Technology (RIST). All rights reserved.
# Copyright (c) 2016-2022 IBM Corporation. All rights reserved.
# Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
Expand Down Expand Up @@ -167,6 +167,7 @@ DISTCLEANFILES = $(nodist_lib@OMPI_LIBMPI_NAME@_usempi_la_SOURCES)
#

install-exec-hook:
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
@ for file in `ls *.mod`; do \
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
Expand Down
3 changes: 2 additions & 1 deletion ompi/mpi/fortran/use-mpi/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Copyright (c) 2012-2013 Inria. All rights reserved.
# Copyright (c) 2013 Los Alamos National Security, LLC. All rights
# reserved.
# Copyright (c) 2015-2020 Research Organization for Information Science
# Copyright (c) 2015-2024 Research Organization for Information Science
# and Technology (RIST). All rights reserved.
# Copyright (c) 2016 IBM Corporation. All rights reserved.
#
Expand Down Expand Up @@ -54,6 +54,7 @@ mpi-types.lo: mpi-types.F90
# may generate different filenames, so we have to use a glob. :-(

install-exec-hook:
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
@ for file in `ls *.mod`; do \
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
Expand Down

0 comments on commit 3611519

Please sign in to comment.