Skip to content

Commit 5cb80d8

Browse files
[CMake] Fix hwloc configure params
Around changes in #667, perhaps in merge conflict resolution extra hwloc configure params were accidentally removed (ref. 660).
1 parent 9ce0704 commit 5cb80d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ else()
173173
COMMAND
174174
./configure --prefix=${hwloc_targ_BINARY_DIR}
175175
--enable-static=yes --enable-shared=no --disable-libxml2
176-
--disable-pciaccess --disable-levelzero CFLAGS=-fPIC
177-
CXXFLAGS=-fPIC
176+
--disable-pciaccess --disable-levelzero --disable-opencl
177+
--disable-cuda --disable-nvml CFLAGS=-fPIC CXXFLAGS=-fPIC
178178
WORKING_DIRECTORY ${hwloc_targ_SOURCE_DIR}
179179
OUTPUT ${hwloc_targ_SOURCE_DIR}/Makefile
180180
DEPENDS ${hwloc_targ_SOURCE_DIR}/configure)

0 commit comments

Comments
 (0)