common/ofi: Fix check for OFI in build files
The changes made in f5e1a672ccd5db127e85e1e8f6bcfeb8a8b04527 have been done after the common/ofi component was removed and thus the component doesn't reflect the changes made their. Namely f5e1a672ccd5db127e85e1e8f6bcfeb8a8b04527 changed: - How to call OPAL_CHECK_OFI (It sets opal_ofi_happy to yes now) - Dropped the common part in the build flags for ofi Signed-off-by: guserav <erik.zeiske@web.de>
Этот коммит содержится в:
родитель
4ad78aaa15
Коммит
0e25c95eae
@ -14,6 +14,7 @@
|
|||||||
# Copyright (c) 2015 Intel, Inc. All rights reserved.
|
# Copyright (c) 2015 Intel, Inc. All rights reserved.
|
||||||
# Copyright (c) 2017 Los Alamos National Security, LLC. All rights
|
# Copyright (c) 2017 Los Alamos National Security, LLC. All rights
|
||||||
# reserved.
|
# reserved.
|
||||||
|
# Copyright (c) 2019 Hewlett Packard Enterprise. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -28,7 +29,7 @@
|
|||||||
# Note that building this common component statically and linking
|
# Note that building this common component statically and linking
|
||||||
# against other dynamic components is *not* supported!
|
# against other dynamic components is *not* supported!
|
||||||
|
|
||||||
AM_CPPFLAGS = $(opal_common_ofi_CPPFLAGS)
|
AM_CPPFLAGS = $(opal_ofi_CPPFLAGS)
|
||||||
|
|
||||||
# Header files
|
# Header files
|
||||||
|
|
||||||
@ -69,13 +70,13 @@ endif
|
|||||||
|
|
||||||
lib@OPAL_LIB_PREFIX@mca_common_ofi_la_SOURCES = $(headers) $(sources)
|
lib@OPAL_LIB_PREFIX@mca_common_ofi_la_SOURCES = $(headers) $(sources)
|
||||||
lib@OPAL_LIB_PREFIX@mca_common_ofi_la_LDFLAGS = \
|
lib@OPAL_LIB_PREFIX@mca_common_ofi_la_LDFLAGS = \
|
||||||
$(opal_common_ofi_LDFLAGS) \
|
$(opal_ofi_LDFLAGS) \
|
||||||
-version-info $(libmca_opal_common_ofi_so_version)
|
-version-info $(libmca_opal_common_ofi_so_version)
|
||||||
lib@OPAL_LIB_PREFIX@mca_common_ofi_la_LIBADD = $(opal_common_ofi_LIBS)
|
lib@OPAL_LIB_PREFIX@mca_common_ofi_la_LIBADD = $(opal_ofi_LIBS)
|
||||||
|
|
||||||
lib@OPAL_LIB_PREFIX@mca_common_ofi_noinst_la_SOURCES = $(headers) $(sources)
|
lib@OPAL_LIB_PREFIX@mca_common_ofi_noinst_la_SOURCES = $(headers) $(sources)
|
||||||
lib@OPAL_LIB_PREFIX@mca_common_ofi_noinst_la_LDFLAGS = $(opal_common_ofi_LDFLAGS)
|
lib@OPAL_LIB_PREFIX@mca_common_ofi_noinst_la_LDFLAGS = $(opal_ofi_LDFLAGS)
|
||||||
lib@OPAL_LIB_PREFIX@mca_common_ofi_noinst_la_LIBADD = $(opal_common_ofi_LIBS)
|
lib@OPAL_LIB_PREFIX@mca_common_ofi_noinst_la_LIBADD = $(opal_ofi_LIBS)
|
||||||
|
|
||||||
# Conditionally install the header files
|
# Conditionally install the header files
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2017 Los Alamos National Security, LLC. All rights
|
# Copyright (c) 2017 Los Alamos National Security, LLC. All rights
|
||||||
# reserved.
|
# reserved.
|
||||||
|
# Copyright (c) 2019 Hewlett Packard Enterprise. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -18,15 +19,17 @@
|
|||||||
AC_DEFUN([MCA_opal_common_ofi_CONFIG],[
|
AC_DEFUN([MCA_opal_common_ofi_CONFIG],[
|
||||||
AC_CONFIG_FILES([opal/mca/common/ofi/Makefile])
|
AC_CONFIG_FILES([opal/mca/common/ofi/Makefile])
|
||||||
|
|
||||||
# Check for ofi. Note that $opal_common_ofi_happy is
|
OPAL_CHECK_OFI
|
||||||
|
|
||||||
|
# Note that $opal_common_ofi_happy is
|
||||||
# used in other configure.m4's to know if ofi configured
|
# used in other configure.m4's to know if ofi configured
|
||||||
# successfully.
|
# successfully.
|
||||||
OPAL_CHECK_OFI([opal_common_ofi],
|
AS_IF([test "$opal_ofi_happy" = "yes"],
|
||||||
[opal_common_ofi_happy=yes
|
[opal_common_ofi_happy=yes
|
||||||
common_ofi_WRAPPER_EXTRA_LDFLAGS=$opal_common_ofi_LDFLAGS
|
common_ofi_WRAPPER_EXTRA_LDFLAGS=$opal_ofi_LDFLAGS
|
||||||
common_ofi_WRAPPER_EXTRA_LIBS=$opal_common_ofi_LIBS
|
common_ofi_WRAPPER_EXTRA_LIBS=$opal_ofi_LIBS
|
||||||
$1],
|
$1],
|
||||||
[opal_common_ofi_happy=no
|
[opal_common_ofi_happy=no
|
||||||
$2])
|
$2])
|
||||||
|
|
||||||
])dnl
|
])dnl
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user