Skip to content

Commit 6daa1bf

Browse files
authored
Merge pull request #930 from PatKamin/disable-libudev
Disable libudev in hwloc builds
2 parents 7ef936c + 68e9cf1 commit 6daa1bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ else()
176176
./configure --prefix=${hwloc_targ_BINARY_DIR}
177177
--enable-static=yes --enable-shared=no --disable-libxml2
178178
--disable-pci --disable-levelzero --disable-opencl
179-
--disable-cuda --disable-nvml CFLAGS=-fPIC CXXFLAGS=-fPIC
179+
--disable-cuda --disable-nvml --disable-libudev CFLAGS=-fPIC
180+
CXXFLAGS=-fPIC
180181
WORKING_DIRECTORY ${hwloc_targ_SOURCE_DIR}
181182
OUTPUT ${hwloc_targ_SOURCE_DIR}/Makefile
182183
DEPENDS ${hwloc_targ_SOURCE_DIR}/configure)

0 commit comments

Comments
 (0)