We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a69b20 + 10ea991 commit 8d1369dCopy full SHA for 8d1369d
opal/mca/hwloc/hwloc1116/configure.m4
@@ -111,10 +111,17 @@ AC_DEFUN([MCA_opal_hwloc_hwloc1116_CONFIG],[
111
enable_libxml2=no
112
enable_xml=yes
113
114
+ # Disable NVML support if CUDA support is not built
115
+ AS_IF([test "$opal_check_cuda_happy" != "yes"],
116
+ [enable_nvml=no])
117
+
118
# hwloc checks for compiler visibility, and its needs to do
119
# this without "picky" flags.
120
opal_hwloc_hwloc1116_save_cflags=$CFLAGS
121
CFLAGS=$OPAL_CFLAGS_BEFORE_PICKY
122
+ AS_IF([test -n "$opal_datatype_cuda_CPPFLAGS"],
123
+ [CPPFLAGS="$CPPFLAGS $opal_datatype_cuda_CPPFLAGS"])
124
125
HWLOC_SETUP_CORE([opal/mca/hwloc/hwloc1116/hwloc],
126
[AC_MSG_CHECKING([whether hwloc configure succeeded])
127
AC_MSG_RESULT([yes])
0 commit comments