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 <jsquyres@cisco.com>
Этот коммит содержится в:
родитель
678e314c0e
Коммит
3571c3c5bb
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2011-2016 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2016 Research Organization for Information Science
|
# Copyright (c) 2016 Research Organization for Information Science
|
||||||
# and Technology (RIST). All rights reserved.
|
# and Technology (RIST). All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
@ -9,10 +9,10 @@
|
|||||||
# $HEADER$
|
# $HEADER$
|
||||||
#
|
#
|
||||||
|
|
||||||
# we do not want -I$(srcdir) in DEFAULT_INCLUDES
|
# We do not want -I$(srcdir) in AM_CPPFLAGS, or there can be a
|
||||||
# otherwise there can be a conflict between system hwloc.h and opal/mca/hwloc/hwloc.h
|
# conflict between system hwloc.h and opal/mca/hwloc/hwloc.h. So just
|
||||||
# so just hack DEFAULT_INCLUDES with only what we need
|
# set only what we need to AM_CPPFLAGS.
|
||||||
DEFAULT_INCLUDES = -I$(top_builddir)/opal/include
|
AM_CPPFLAGS = -I$(top_builddir)/opal/include
|
||||||
|
|
||||||
# main library setup
|
# main library setup
|
||||||
noinst_LTLIBRARIES = libmca_hwloc.la
|
noinst_LTLIBRARIES = libmca_hwloc.la
|
||||||
|
4
opal/mca/hwloc/external/configure.m4
поставляемый
4
opal/mca/hwloc/external/configure.m4
поставляемый
@ -63,7 +63,7 @@ AC_DEFUN([MCA_opal_hwloc_external_POST_CONFIG],[
|
|||||||
# the MCA_hwloc_external_openfabrics_helper define).
|
# the MCA_hwloc_external_openfabrics_helper define).
|
||||||
AS_IF([test "$opal_hwloc_dir" != ""],
|
AS_IF([test "$opal_hwloc_dir" != ""],
|
||||||
[opal_hwloc_include="$opal_hwloc_dir/include/hwloc.h"
|
[opal_hwloc_include="$opal_hwloc_dir/include/hwloc.h"
|
||||||
opal_hwloc_openfabrics_include="$opal_hwloc_dir/include/hwloc/hwloc/openfabrics-verbs.h"],
|
opal_hwloc_openfabrics_include="$opal_hwloc_dir/include/hwloc/openfabrics-verbs.h"],
|
||||||
[opal_hwloc_include="hwloc.h"
|
[opal_hwloc_include="hwloc.h"
|
||||||
opal_hwloc_openfabrics_include="hwloc/openfabrics-verbs.h"])
|
opal_hwloc_openfabrics_include="hwloc/openfabrics-verbs.h"])
|
||||||
AC_DEFINE_UNQUOTED(MCA_hwloc_external_header,
|
AC_DEFINE_UNQUOTED(MCA_hwloc_external_header,
|
||||||
@ -71,7 +71,7 @@ AC_DEFUN([MCA_opal_hwloc_external_POST_CONFIG],[
|
|||||||
[Location of external hwloc header])
|
[Location of external hwloc header])
|
||||||
AC_DEFINE_UNQUOTED(MCA_hwloc_external_openfabrics_header,
|
AC_DEFINE_UNQUOTED(MCA_hwloc_external_openfabrics_header,
|
||||||
["$opal_hwloc_openfabrics_include"],
|
["$opal_hwloc_openfabrics_include"],
|
||||||
[Location of external hwloc openfabrics header])
|
[Location of external hwloc OpenFabrics header])
|
||||||
])
|
])
|
||||||
OPAL_VAR_SCOPE_POP
|
OPAL_VAR_SCOPE_POP
|
||||||
])dnl
|
])dnl
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user