Skip to content

Commit 12e796d

Browse files
committed
hwloc: headers are not in $includedir
They are in $opalincludedir. Use the neutral "$pkgincludedir", which will get translated under the covers to opalincludedir.
1 parent 1dfb685 commit 12e796d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

opal/mca/event/libevent2022/configure.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ AC_DEFUN([MCA_opal_event_libevent2022_DO_THE_CONFIG], [
176176
# Finally, add some flags to the wrapper compiler if we're
177177
# building with developer headers so that our headers can
178178
# be found.
179-
event_libevent2022_WRAPPER_EXTRA_CPPFLAGS='-I${pkgincludedir}/openmpi/opal/mca/event/libevent2022/libevent -I${pkgincludedir}/openmpi/opal/mca/event/libevent2022/libevent/include'
179+
event_libevent2022_WRAPPER_EXTRA_CPPFLAGS='-I${pkgincludedir}/opal/mca/event/libevent2022/libevent -I${pkgincludedir}/opal/mca/event/libevent2022/libevent/include'
180180

181181
CFLAGS="$CFLAGS_save"
182182
CPPFLAGS="$CPPFLAGS_save"

opal/mca/hwloc/hwloc1110/configure.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- shell-script -*-
22
#
3-
# Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
3+
# Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
44
# Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
55
#
66
# $COPYRIGHT$
@@ -158,7 +158,7 @@ AC_DEFUN([MCA_opal_hwloc_hwloc1110_CONFIG],[
158158
# headers can be found.
159159
hwloc_hwloc1110_WRAPPER_EXTRA_LDFLAGS="$HWLOC_EMBEDDED_LDFLAGS"
160160
hwloc_hwloc1110_WRAPPER_EXTRA_LIBS="$HWLOC_EMBEDDED_LIBS"
161-
hwloc_hwloc1110_WRAPPER_EXTRA_CPPFLAGS='-I${includedir}/openmpi/'"$opal_hwloc_hwloc1110_basedir/hwloc/include"
161+
hwloc_hwloc1110_WRAPPER_EXTRA_CPPFLAGS='-I${pkgincludedir}/'"$opal_hwloc_hwloc1110_basedir/hwloc/include"
162162
fi
163163

164164
# Done!

0 commit comments

Comments
 (0)