@@ -1052,7 +1052,9 @@ return 0;
1052
1052
AC_MSG_NOTICE ( [ using default CUDA install path /usr/local/cuda ...] )
1053
1053
HWLOC_CUDA_COMMON_LDFLAGS="-L/usr/local/cuda/lib64/ -L/usr/local/cuda/lib64/stubs/"
1054
1054
HWLOC_CUDA_COMMON_CPPFLAGS="-I/usr/local/cuda/include/"
1055
- fi fi fi
1055
+ fi
1056
+ fi
1057
+ fi
1056
1058
1057
1059
AC_MSG_NOTICE ( [ common CUDA/OpenCL/NVML CPPFLAGS: $HWLOC_CUDA_COMMON_CPPFLAGS] )
1058
1060
AC_MSG_NOTICE ( [ common CUDA/OpenCL/NVML LDFLAGS: $HWLOC_CUDA_COMMON_LDFLAGS] )
@@ -1276,7 +1278,9 @@ char nvmlInit ();
1276
1278
AC_MSG_NOTICE ( [ using standard ROCm install path $rocm_dir ...] )
1277
1279
else
1278
1280
AC_MSG_NOTICE ( [ assuming ROCm is installed in standard directories ...] )
1279
- fi fi fi
1281
+ fi
1282
+ fi
1283
+ fi
1280
1284
if test "x$rocm_dir" != x; then
1281
1285
if test -d "$rocm_dir/include/rocm_smi"; then
1282
1286
HWLOC_RSMI_CPPFLAGS="-I$rocm_dir/include/"
@@ -1604,7 +1608,8 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
1604
1608
requested_plugins=`echo $enable_plugins | sed -e 's/,/ /g'`
1605
1609
else
1606
1610
hwloc_have_plugins=no
1607
- fi fi
1611
+ fi
1612
+ fi
1608
1613
AC_MSG_RESULT ( $hwloc_have_plugins )
1609
1614
1610
1615
if test "x$hwloc_have_plugins" = xyes; then
@@ -1617,7 +1622,8 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
1617
1622
else if test "x$hwloc_windows" = "xyes"; then
1618
1623
AC_MSG_WARN ( [ dlopen not supported on non-native Windows build, disabled by default.] )
1619
1624
enable_plugin_dlopen=no
1620
- fi fi
1625
+ fi
1626
+ fi
1621
1627
fi
1622
1628
if test "x$enable_plugin_ltdl" = x; then
1623
1629
if test "x$hwloc_aix" = "xyes"; then
@@ -1626,7 +1632,8 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
1626
1632
else if test "x$hwloc_windows" = "xyes"; then
1627
1633
AC_MSG_WARN ( [ ltdl not supported on non-native Windows build, disabled by default.] )
1628
1634
enable_plugin_dlopen=no
1629
- fi fi
1635
+ fi
1636
+ fi
1630
1637
fi
1631
1638
1632
1639
# Look for dlopen
@@ -1659,7 +1666,8 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
1659
1666
AC_MSG_RESULT ( [ none] )
1660
1667
AC_MSG_WARN ( [ Plugin support requested, but could not enable dlopen or ltdl] )
1661
1668
AC_MSG_ERROR ( [ Cannot continue] )
1662
- fi fi
1669
+ fi
1670
+ fi
1663
1671
1664
1672
AC_DEFINE ( [ HWLOC_HAVE_PLUGINS] , 1 , [ Define to 1 if the hwloc library should support dynamically-loaded plugins] )
1665
1673
fi
0 commit comments