From 8923281e0f9b1dc905f7fb0f2c4ca155dfd49a3d Mon Sep 17 00:00:00 2001 From: Patryk Kaminski Date: Thu, 3 Oct 2024 16:11:36 +0200 Subject: [PATCH] Fix disabling of pci support in hwloc The flag that hwloc recognize is --disable-pci, not --disable-pciaccess. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cb4045776..0fe20025a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,7 +189,7 @@ elseif(NOT UMF_DISABLE_HWLOC) add_custom_command( COMMAND ./configure --prefix=${hwloc_targ_BINARY_DIR} --enable-static=yes - --enable-shared=no --disable-libxml2 --disable-pciaccess + --enable-shared=no --disable-libxml2 --disable-pci --disable-levelzero --disable-opencl --disable-cuda --disable-nvml CFLAGS=-fPIC CXXFLAGS=-fPIC WORKING_DIRECTORY ${hwloc_targ_SOURCE_DIR}