[libc-commits] [libc] [libc] Remove workarounds for lack of functional NVPTX linker (PR #96972)
    Joseph Huber via libc-commits 
    libc-commits at lists.llvm.org
       
    Tue Jul 23 19:31:45 PDT 2024
    
    
  
================
@@ -656,13 +649,12 @@ function(add_libc_hermetic test_name)
 
   if(LIBC_TARGET_ARCHITECTURE_IS_AMDGPU)
     target_link_options(${fq_build_target_name} PRIVATE
-      ${LIBC_COMPILE_OPTIONS_DEFAULT}
-      -mcpu=${LIBC_GPU_TARGET_ARCHITECTURE} -flto -Wno-multi-gpu
+      ${LIBC_COMPILE_OPTIONS_DEFAULT} -Wno-multi-gpu
+      -mcpu=${LIBC_GPU_TARGET_ARCHITECTURE} -flto
+      "-Wl,-asdfasdfasdf"
----------------
jhuber6 wrote:
Whoops.
https://github.com/llvm/llvm-project/pull/96972
    
    
More information about the libc-commits
mailing list