[libc-commits] [libc] [libc] Remove workarounds for lack of functional NVPTX linker (PR #96972)
via libc-commits
libc-commits at lists.llvm.org
Tue Jul 23 19:30:46 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"
----------------
jameshu15869 wrote:
Is `asdfasdfasdf` something that's specific to LLVM or AMDGPU? If so, what's the story behind the name?
https://github.com/llvm/llvm-project/pull/96972
More information about the libc-commits
mailing list