Merge pull request #711 from jsquyres/pr/possible-sles-rpm-linker-fix
fortran: link the opal-pal.la library directly
Этот коммит содержится в:
Коммит
722478404b
@ -9,7 +9,7 @@
|
||||
# University of Stuttgart. All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2011-2013 Inria. All rights reserved.
|
||||
# Copyright (c) 2011-2013 Universite Bordeaux 1
|
||||
# Copyright (c) 2013-2014 Los Alamos National Security, LLC. All rights
|
||||
@ -55,7 +55,14 @@ AM_CPPFLAGS = -DOMPI_PROFILE_LAYER=0 -DOMPI_COMPILING_FORTRAN_WRAPPERS=1
|
||||
|
||||
lib_LTLIBRARIES =
|
||||
CLEANFILES =
|
||||
libmpi_mpifh_la_LIBADD = $(top_builddir)/ompi/libmpi.la $(OMPI_MPIEXT_MPIFH_LIBS)
|
||||
# Note that we invoke some OPAL functions directly in libmpi_mpifh.la,
|
||||
# so we need to link in the OPAL library directly (pulling it in
|
||||
# indirectly via libmpi.la does not work on all platforms).
|
||||
libmpi_mpifh_la_LIBADD = \
|
||||
$(top_builddir)/ompi/libmpi.la \
|
||||
$(OMPI_MPIEXT_MPIFH_LIBS) \
|
||||
$(OMPI_TOP_BUILDDIR)/opal/lib@OPAL_LIB_PREFIX@open-pal.la
|
||||
|
||||
libmpi_mpifh_la_LDFLAGS = -version-info $(libmpi_mpifh_so_version)
|
||||
|
||||
# Are we building the mpif.h bindings at all?
|
||||
|
@ -1,6 +1,6 @@
|
||||
# -*- makefile -*-
|
||||
#
|
||||
# Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2015 Research Organization for Information Science
|
||||
# and Technology (RIST). All rights reserved.
|
||||
#
|
||||
@ -48,6 +48,13 @@ nodist_libmpi_usempi_ignore_tkr_la_SOURCES += \
|
||||
mpi-ignore-tkr-sizeof.f90
|
||||
endif
|
||||
|
||||
# Note that we invoke some OPAL functions directly in
|
||||
# libmpi_usempi_ignore_tkr.la, so we need to link in the OPAL library
|
||||
# directly (pulling it in indirectly via libmpi.la does not work on
|
||||
# all platforms).
|
||||
libmpi_usempi_ignore_tkr_la_LIBADD = \
|
||||
$(OMPI_MPIEXT_USEMPI_LIBS) \
|
||||
$(OMPI_TOP_BUILDDIR)/opal/lib@OPAL_LIB_PREFIX@open-pal.la
|
||||
libmpi_usempi_ignore_tkr_la_LDFLAGS = \
|
||||
-version-info $(libmpi_usempi_ignore_tkr_so_version) \
|
||||
$(OMPI_FORTRAN_EXTRA_SHARED_LIBRARY_FLAGS)
|
||||
|
@ -10,7 +10,7 @@
|
||||
# University of Stuttgart. All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2007 Los Alamos National Security, LLC. All rights
|
||||
# reserved.
|
||||
# Copyright (c) 2014-2015 Research Organization for Information Science
|
||||
@ -88,6 +88,13 @@ nodist_libmpi_usempi_la_SOURCES += \
|
||||
mpi-tkr-sizeof.f90
|
||||
endif
|
||||
|
||||
# Note that we invoke some OPAL functions directly in
|
||||
# libmpi_usempi.la, so we need to link in the OPAL library directly
|
||||
# (pulling it in indirectly via libmpi.la does not work on all
|
||||
# platforms).
|
||||
libmpi_usempi_la_LIBADD = \
|
||||
$(OMPI_MPIEXT_USEMPI_LIBS) \
|
||||
$(OMPI_TOP_BUILDDIR)/opal/lib@OPAL_LIB_PREFIX@open-pal.la
|
||||
# Set the library version
|
||||
libmpi_usempi_la_LDFLAGS = \
|
||||
-version-info $(libmpi_usempi_tkr_so_version) \
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user