Skip to content

Commit fcf1f5a

Browse files
authored
Merge pull request #689 from lukaszstolarczuk/fix-hwloc-configure
[CMake] Fix hwloc configure params
2 parents 9ce0704 + 5cb80d8 commit fcf1f5a

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)