Skip to content

Commit 611ad61

Browse files
committed
Disable libudev in hwloc build
and fix disabling of pci support
1 parent cdc0310 commit 611ad61

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,9 @@ else()
169169
COMMAND
170170
./configure --prefix=${hwloc_targ_BINARY_DIR}
171171
--enable-static=yes --enable-shared=no --disable-libxml2
172-
--disable-pciaccess --disable-levelzero --disable-opencl
173-
--disable-cuda --disable-nvml CFLAGS=-fPIC CXXFLAGS=-fPIC
172+
--disable-pci --disable-libudev --disable-levelzero
173+
--disable-opencl --disable-cuda --disable-nvml CFLAGS=-fPIC
174+
CXXFLAGS=-fPIC
174175
WORKING_DIRECTORY ${hwloc_targ_SOURCE_DIR}
175176
OUTPUT ${hwloc_targ_SOURCE_DIR}/Makefile
176177
DEPENDS ${hwloc_targ_SOURCE_DIR}/configure)

0 commit comments

Comments
 (0)