Skip to content

Commit 3571c3c

Browse files
committed
hwloc external: minor fixes to 9649c44
- Fix capitolization typos - Make comment more correct / flow better - Use AM_CPPFLAGS, not DEFAULT_INCLUDES - Remove extra "hwloc/" from external hwloc.h specification Signed-off-by: Jeff Squyres <[email protected]>
1 parent 678e314 commit 3571c3c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

opal/mca/hwloc/Makefile.am

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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$
@@ -9,10 +9,10 @@
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
1818
noinst_LTLIBRARIES = libmca_hwloc.la

opal/mca/hwloc/external/configure.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)