Skip to content

Commit

Permalink
Disable rsmi in hwloc build
Browse files Browse the repository at this point in the history
Disable not used hwloc feature "rsmi". Silence errors during hwloc linkage to umf, like:
/usr/bin/ld: _deps/hwloc_targ-build/lib/libhwloc.a(topology-rsmi.o): in function `get_device_name':
topology-rsmi.c:(.text+0x208): undefined reference to `rsmi_dev_name_get'
  • Loading branch information
PatKamin committed Dec 9, 2024
1 parent 66b161a commit 8ad2f6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ else()
./configure --prefix=${hwloc_targ_BINARY_DIR}
--enable-static=yes --enable-shared=no --disable-libxml2
--disable-pci --disable-levelzero --disable-opencl
--disable-cuda --disable-nvml --disable-libudev CFLAGS=-fPIC
CXXFLAGS=-fPIC
--disable-cuda --disable-nvml --disable-libudev --disable-rsmi
CFLAGS=-fPIC CXXFLAGS=-fPIC
WORKING_DIRECTORY ${hwloc_targ_SOURCE_DIR}
OUTPUT ${hwloc_targ_SOURCE_DIR}/Makefile
DEPENDS ${hwloc_targ_SOURCE_DIR}/configure)
Expand Down

0 comments on commit 8ad2f6a

Please sign in to comment.