Skip to content

Commit 64d27a8

Browse files
committed
fortran: create the Fortran module directory
Refs. #12787 Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
1 parent 9ba5034 commit 64d27a8

File tree

7 files changed

+14
-7
lines changed

7 files changed

+14
-7
lines changed

ompi/mpi/fortran/mpiext-use-mpi-f08/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Copyright (c) 2012-2019 Cisco Systems, Inc. All rights reserved.
3-
# Copyright (c) 2017-2020 Research Organization for Information Science
3+
# Copyright (c) 2017-2024 Research Organization for Information Science
44
# and Technology (RIST). All rights reserved.
55
# Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
66
# $COPYRIGHT$
@@ -72,6 +72,7 @@ CLEANFILES += *.i90
7272
# may generate different filenames, so we have to use a glob. :-(
7373
#
7474
install-exec-hook:
75+
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
7576
@ for file in `ls *.mod`; do \
7677
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
7778
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Copyright (c) 2012-2019 Cisco Systems, Inc. All rights reserved.
3-
# Copyright (c) 2020 Research Organization for Information Science
3+
# Copyright (c) 2020-2024 Research Organization for Information Science
44
# and Technology (RIST). All rights reserved.
55
# Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
66
# $COPYRIGHT$
@@ -70,6 +70,7 @@ CLEANFILES += *.i90
7070
# may generate different filenames, so we have to use a glob. :-(
7171
#
7272
install-exec-hook:
73+
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
7374
@ for file in `ls *.mod`; do \
7475
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
7576
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Copyright (c) 2012-2013 Inria. All rights reserved.
88
# Copyright (c) 2013-2018 Los Alamos National Security, LLC. All rights
99
# reserved.
10-
# Copyright (c) 2015-2021 Research Organization for Information Science
10+
# Copyright (c) 2015-2024 Research Organization for Information Science
1111
# and Technology (RIST). All rights reserved.
1212
# Copyright (c) 2016 IBM Corporation. All rights reserved.
1313
# Copyright (c) 2017-2018 FUJITSU LIMITED. All rights reserved.
@@ -565,6 +565,7 @@ mpi-f08.lo: $(module_sentinel_files) $(SIZEOF_H)
565565
# may generate different filenames, so we have to use a glob. :-(
566566

567567
install-exec-hook:
568+
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
568569
@ for file in `ls *.mod`; do \
569570
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
570571
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \

ompi/mpi/fortran/use-mpi-f08/mod/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Copyright (c) 2012-2013 Inria. All rights reserved.
88
# Copyright (c) 2013 Los Alamos National Security, LLC. All rights
99
# reserved.
10-
# Copyright (c) 2015-2020 Research Organization for Information Science
10+
# Copyright (c) 2015-2024 Research Organization for Information Science
1111
# and Technology (RIST). All rights reserved.
1212
# Copyright (c) 2016 IBM Corporation. All rights reserved.
1313
#
@@ -101,6 +101,7 @@ pmpi-f08-interfaces.lo: mpi-f08-rename.h
101101
# may generate different filenames, so we have to use a glob. :-(
102102

103103
install-exec-hook:
104+
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
104105
@ for file in `ls *.mod`; do \
105106
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
106107
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- makefile -*-
22
#
33
# Copyright (c) 2006-2019 Cisco Systems, Inc. All rights reserved.
4-
# Copyright (c) 2015-2021 Research Organization for Information Science
4+
# Copyright (c) 2015-2024 Research Organization for Information Science
55
# and Technology (RIST). All rights reserved.
66
# Copyright (c) 2016 IBM Corporation. All rights reserved.
77
#
@@ -135,6 +135,7 @@ CLEANFILES += *.i90
135135
# may generate different filenames, so we have to use a glob. :-(
136136

137137
install-exec-hook:
138+
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
138139
@ for file in `ls *.mod`; do \
139140
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
140141
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# Copyright (c) 2006-2021 Cisco Systems, Inc. All rights reserved
1414
# Copyright (c) 2007 Los Alamos National Security, LLC. All rights
1515
# reserved.
16-
# Copyright (c) 2014-2021 Research Organization for Information Science
16+
# Copyright (c) 2014-2024 Research Organization for Information Science
1717
# and Technology (RIST). All rights reserved.
1818
# Copyright (c) 2016-2022 IBM Corporation. All rights reserved.
1919
# Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
@@ -167,6 +167,7 @@ DISTCLEANFILES = $(nodist_lib@OMPI_LIBMPI_NAME@_usempi_la_SOURCES)
167167
#
168168

169169
install-exec-hook:
170+
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
170171
@ for file in `ls *.mod`; do \
171172
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
172173
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Copyright (c) 2012-2013 Inria. All rights reserved.
88
# Copyright (c) 2013 Los Alamos National Security, LLC. All rights
99
# reserved.
10-
# Copyright (c) 2015-2020 Research Organization for Information Science
10+
# Copyright (c) 2015-2024 Research Organization for Information Science
1111
# and Technology (RIST). All rights reserved.
1212
# Copyright (c) 2016 IBM Corporation. All rights reserved.
1313
#
@@ -54,6 +54,7 @@ mpi-types.lo: mpi-types.F90
5454
# may generate different filenames, so we have to use a glob. :-(
5555

5656
install-exec-hook:
57+
@ $(INSTALL) -d $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR)
5758
@ for file in `ls *.mod`; do \
5859
echo $(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \
5960
$(INSTALL) $$file $(DESTDIR)$(OMPI_FORTRAN_MODULEDIR); \

0 commit comments

Comments
 (0)