File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11#
2- # Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
2+ # Copyright (c) 2011-2016 Cisco Systems, Inc. All rights reserved.
33# Copyright (c) 2016 Research Organization for Information Science
44# and Technology (RIST). All rights reserved.
55# $COPYRIGHT$
99# $HEADER$
1010#
1111
12- # we do not want -I$(srcdir) in DEFAULT_INCLUDES
13- # otherwise there can be a conflict between system hwloc.h and opal/mca/hwloc/hwloc.h
14- # so just hack DEFAULT_INCLUDES with only what we need
15- DEFAULT_INCLUDES = -I$(top_builddir ) /opal/include
12+ # We do not want -I$(srcdir) in AM_CPPFLAGS, or there can be a
13+ # conflict between system hwloc.h and opal/mca/hwloc/hwloc.h. So just
14+ # set only what we need to AM_CPPFLAGS.
15+ AM_CPPFLAGS = -I$(top_builddir ) /opal/include
1616
1717# main library setup
1818noinst_LTLIBRARIES = libmca_hwloc.la
Original file line number Diff line number Diff line change @@ -63,15 +63,15 @@ AC_DEFUN([MCA_opal_hwloc_external_POST_CONFIG],[
6363 # the MCA_hwloc_external_openfabrics_helper define).
6464 AS_IF([test " $opal_hwloc_dir " != " " ],
6565 [opal_hwloc_include= " $opal_hwloc_dir /include/hwloc.h"
66- opal_hwloc_openfabrics_include= " $opal_hwloc_dir /include/hwloc/hwloc/ openfabrics-verbs.h" ],
66+ opal_hwloc_openfabrics_include= " $opal_hwloc_dir /include/hwloc/openfabrics-verbs.h" ],
6767 [opal_hwloc_include= " hwloc.h"
6868 opal_hwloc_openfabrics_include= " hwloc/openfabrics-verbs.h" ])
6969 AC_DEFINE_UNQUOTED(MCA_hwloc_external_header,
7070 [" $opal_hwloc_include " ],
7171 [Location of external hwloc header])
7272 AC_DEFINE_UNQUOTED(MCA_hwloc_external_openfabrics_header,
7373 [" $opal_hwloc_openfabrics_include " ],
74- [Location of external hwloc openfabrics header])
74+ [Location of external hwloc OpenFabrics header])
7575 ])
7676 OPAL_VAR_SCOPE_POP
7777])dnl
You can’t perform that action at this time.
0 commit comments