From 60451af4997bb84b630ad683603e5316f3cb67b0 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Wed, 14 Oct 2026 09:28:28 -0400 Subject: [PATCH] Remove fatbin linker script from libcuvs builds Verified that both Debug and RelWithDebInfo builds with CMAKE_CUDA_ARCHITECTURES=RAPIDS work as expected without the .nvFatBinSegment/.nv_fatbin placement script. --- cpp/CMakeLists.txt | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 08009b731d..43de88bfbb 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -1668,19 +1668,6 @@ if(NOT BUILD_CPU_ONLY) INTERFACE $ ) - # ensure CUDA symbols aren't relocated to the middle of the debug build binaries - file( - WRITE "${CMAKE_CURRENT_BINARY_DIR}/fatbin.ld" - [=[ -SECTIONS -{ -.nvFatBinSegment : { *(.nvFatBinSegment) } -.nv_fatbin : { *(.nv_fatbin) } -} -]=] - ) - target_link_options(cuvs PRIVATE $) - endif() if(NOT cuvs_compile_mode STREQUAL "shared_only")