Skip to content

Commit 0331ad0

Browse files
committed
Filter absorbed deps from install export sets
When static deps (rmm, rapids_logger) are absorbed into libcudf.so via whole-archive, they are not installed separately. The export-set merging loop was copying rmm-exports' install packages (including rapids_logger) into cudf-exports, producing a find_dependency(rapids_logger) that would fail for consumers of an installed standalone build. Skip packages matching _absorbed_deps names when merging install-side export set metadata.
1 parent ea18fcb commit 0331ad0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cpp/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,6 +1133,11 @@ if(BUILD_SHARED_LIBS)
11331133
PROPERTY "GLOBAL_TARGETS"
11341134
)
11351135
foreach(_pkg IN LISTS _pkg_names)
1136+
# Skip packages that are themselves absorbed into libcudf — they won't be installed or
1137+
# findable at install time.
1138+
if(_mode STREQUAL "install" AND _pkg IN_LIST _absorbed_deps)
1139+
continue()
1140+
endif()
11361141
rapids_export_package(${_mode} ${_pkg} cudf-exports GLOBAL_TARGETS ${_global_tgts})
11371142
endforeach()
11381143
endforeach()

0 commit comments

Comments
 (0)