@@ -1041,7 +1041,9 @@ return 0;
1041
1041
AC_MSG_NOTICE ( [ using default CUDA install path /usr/local/cuda ...] )
1042
1042
HWLOC_CUDA_COMMON_LDFLAGS="-L/usr/local/cuda/lib64/ -L/usr/local/cuda/lib64/stubs/"
1043
1043
HWLOC_CUDA_COMMON_CPPFLAGS="-I/usr/local/cuda/include/"
1044
- fi fi fi
1044
+ fi
1045
+ fi
1046
+ fi
1045
1047
1046
1048
AC_MSG_NOTICE ( [ common CUDA/OpenCL/NVML CPPFLAGS: $HWLOC_CUDA_COMMON_CPPFLAGS] )
1047
1049
AC_MSG_NOTICE ( [ common CUDA/OpenCL/NVML LDFLAGS: $HWLOC_CUDA_COMMON_LDFLAGS] )
@@ -1265,7 +1267,9 @@ char nvmlInit ();
1265
1267
AC_MSG_NOTICE ( [ using standard ROCm install path $rocm_dir ...] )
1266
1268
else
1267
1269
AC_MSG_NOTICE ( [ assuming ROCm is installed in standard directories ...] )
1268
- fi fi fi
1270
+ fi
1271
+ fi
1272
+ fi
1269
1273
if test "x$rocm_dir" != x; then
1270
1274
if test -d "$rocm_dir/include/rocm_smi"; then
1271
1275
HWLOC_RSMI_CPPFLAGS="-I$rocm_dir/include/"
@@ -1593,7 +1597,8 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
1593
1597
requested_plugins=`echo $enable_plugins | sed -e 's/,/ /g'`
1594
1598
else
1595
1599
hwloc_have_plugins=no
1596
- fi fi
1600
+ fi
1601
+ fi
1597
1602
AC_MSG_RESULT ( $hwloc_have_plugins )
1598
1603
1599
1604
if test "x$hwloc_have_plugins" = xyes; then
@@ -1606,7 +1611,8 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
1606
1611
else if test "x$hwloc_windows" = "xyes"; then
1607
1612
AC_MSG_WARN ( [ dlopen not supported on non-native Windows build, disabled by default.] )
1608
1613
enable_plugin_dlopen=no
1609
- fi fi
1614
+ fi
1615
+ fi
1610
1616
fi
1611
1617
if test "x$enable_plugin_ltdl" = x; then
1612
1618
if test "x$hwloc_aix" = "xyes"; then
@@ -1615,7 +1621,8 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
1615
1621
else if test "x$hwloc_windows" = "xyes"; then
1616
1622
AC_MSG_WARN ( [ ltdl not supported on non-native Windows build, disabled by default.] )
1617
1623
enable_plugin_dlopen=no
1618
- fi fi
1624
+ fi
1625
+ fi
1619
1626
fi
1620
1627
1621
1628
# Look for dlopen
@@ -1648,7 +1655,8 @@ return clGetDeviceIDs(0, 0, 0, NULL, NULL);
1648
1655
AC_MSG_RESULT ( [ none] )
1649
1656
AC_MSG_WARN ( [ Plugin support requested, but could not enable dlopen or ltdl] )
1650
1657
AC_MSG_ERROR ( [ Cannot continue] )
1651
- fi fi
1658
+ fi
1659
+ fi
1652
1660
1653
1661
AC_DEFINE ( [ HWLOC_HAVE_PLUGINS] , 1 , [ Define to 1 if the hwloc library should support dynamically-loaded plugins] )
1654
1662
fi
0 commit comments