File tree Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 14
14
# Copyright (c) 2015 Intel, Inc. All rights reserved.
15
15
# Copyright (c) 2017 Los Alamos National Security, LLC. All rights
16
16
# reserved.
17
+ # Copyright (c) 2019 Hewlett Packard Enterprise. All rights reserved.
17
18
# $COPYRIGHT$
18
19
#
19
20
# Additional copyrights may follow
28
29
# Note that building this common component statically and linking
29
30
# against other dynamic components is *not* supported!
30
31
31
- AM_CPPFLAGS = $(opal_common_ofi_CPPFLAGS )
32
+ AM_CPPFLAGS = $(opal_ofi_CPPFLAGS )
32
33
33
34
# Header files
34
35
@@ -69,13 +70,13 @@ endif
69
70
70
71
lib@OPAL_LIB_PREFIX@mca_common_ofi_la_SOURCES = $(headers ) $(sources )
71
72
lib@OPAL_LIB_PREFIX@mca_common_ofi_la_LDFLAGS = \
72
- $(opal_common_ofi_LDFLAGS ) \
73
+ $(opal_ofi_LDFLAGS ) \
73
74
-version-info $(libmca_opal_common_ofi_so_version )
74
- lib@OPAL_LIB_PREFIX@mca_common_ofi_la_LIBADD = $(opal_common_ofi_LIBS )
75
+ lib@OPAL_LIB_PREFIX@mca_common_ofi_la_LIBADD = $(opal_ofi_LIBS )
75
76
76
77
lib@OPAL_LIB_PREFIX@mca_common_ofi_noinst_la_SOURCES = $(headers ) $(sources )
77
- lib@OPAL_LIB_PREFIX@mca_common_ofi_noinst_la_LDFLAGS = $(opal_common_ofi_LDFLAGS )
78
- lib@OPAL_LIB_PREFIX@mca_common_ofi_noinst_la_LIBADD = $(opal_common_ofi_LIBS )
78
+ lib@OPAL_LIB_PREFIX@mca_common_ofi_noinst_la_LDFLAGS = $(opal_ofi_LDFLAGS )
79
+ lib@OPAL_LIB_PREFIX@mca_common_ofi_noinst_la_LIBADD = $(opal_ofi_LIBS )
79
80
80
81
# Conditionally install the header files
81
82
Original file line number Diff line number Diff line change 8
8
# Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
9
9
# Copyright (c) 2017 Los Alamos National Security, LLC. All rights
10
10
# reserved.
11
+ # Copyright (c) 2019 Hewlett Packard Enterprise. All rights reserved.
11
12
# $COPYRIGHT$
12
13
#
13
14
# Additional copyrights may follow
18
19
AC_DEFUN([MCA_opal_common_ofi_CONFIG],[
19
20
AC_CONFIG_FILES([opal/mca/common/ofi/Makefile])
20
21
21
- # Check for ofi. Note that $opal_common_ofi_happy is
22
+ OPAL_CHECK_OFI
23
+
24
+ # Note that $opal_common_ofi_happy is
22
25
# used in other configure.m4's to know if ofi configured
23
26
# successfully.
24
- OPAL_CHECK_OFI([opal_common_ofi ],
25
- [opal_common_ofi_happy= yes
26
- common_ofi_WRAPPER_EXTRA_LDFLAGS= $opal_common_ofi_LDFLAGS
27
- common_ofi_WRAPPER_EXTRA_LIBS= $opal_common_ofi_LIBS
28
- $1 ],
29
- [opal_common_ofi_happy= no
30
- $2 ])
27
+ AS_IF([test " $opal_ofi_happy " = " yes " ],
28
+ [opal_common_ofi_happy= yes
29
+ common_ofi_WRAPPER_EXTRA_LDFLAGS= $opal_ofi_LDFLAGS
30
+ common_ofi_WRAPPER_EXTRA_LIBS= $opal_ofi_LIBS
31
+ $1 ],
32
+ [opal_common_ofi_happy= no
33
+ $2 ])
31
34
32
35
])dnl
You can’t perform that action at this time.
0 commit comments