fortran:use mpif08 fix for PGI linking
commit c6070fd2e broke building fortran bindings with PGI compilers. Turns out PGI compilers need to link in the *.o from a module file whether or not there are module subroutines defined or not in the module file. Related to #6411 Signed-off-by: Howard Pritchard <howardp@lanl.gov>
Этот коммит содержится в:
родитель
c9d0393158
Коммит
266bc3aced
@ -11,6 +11,8 @@
|
||||
# and Technology (RIST). All rights reserved.
|
||||
# Copyright (c) 2016 IBM Corporation. All rights reserved.
|
||||
# Copyright (c) 2017-2018 FUJITSU LIMITED. All rights reserved.
|
||||
# Copyright (c) 2019 Triad National Security, LLC. All rights
|
||||
# reserved.
|
||||
#
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
@ -39,7 +41,8 @@ CLEANFILES += *.i90
|
||||
lib_LTLIBRARIES = lib@OMPI_LIBMPI_NAME@_usempif08.la
|
||||
|
||||
module_sentinel_file = \
|
||||
mod/libforce_usempif08_internal_modules_to_be_built.la
|
||||
mod/libforce_usempif08_internal_modules_to_be_built.la \
|
||||
bindings/libforce_usempif08_internal_bindings_to_be_built.la
|
||||
|
||||
mpi-f08.lo: $(module_sentinel_file)
|
||||
mpi-f08.lo: mpi-f08.F90
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user