[libc-commits] [libc] d1dde17 - [libc] Fix failing NVPTX tests due to removed internal LLVM option

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Thu Feb 20 13:24:06 PST 2025


Author: Joseph Huber
Date: 2025-02-20T15:23:40-06:00
New Revision: d1dde17ab079152d8cf2d8953b90cdbf5a1dd78c

URL: https://github.com/llvm/llvm-project/commit/d1dde17ab079152d8cf2d8953b90cdbf5a1dd78c
DIFF: https://github.com/llvm/llvm-project/commit/d1dde17ab079152d8cf2d8953b90cdbf5a1dd78c.diff

LOG: [libc] Fix failing NVPTX tests due to removed internal LLVM option

Summary:
This was removed but forgot to remove it in this one place. So it
errors.

Added: 
    

Modified: 
    libc/cmake/modules/LLVMLibCTestRules.cmake

Removed: 
    


################################################################################
diff  --git a/libc/cmake/modules/LLVMLibCTestRules.cmake b/libc/cmake/modules/LLVMLibCTestRules.cmake
index f33db5826537b..03b4b251649e7 100644
--- a/libc/cmake/modules/LLVMLibCTestRules.cmake
+++ b/libc/cmake/modules/LLVMLibCTestRules.cmake
@@ -751,7 +751,6 @@ function(add_libc_hermetic test_name)
     target_link_options(${fq_build_target_name} PRIVATE
       ${LIBC_COMPILE_OPTIONS_DEFAULT} -Wno-multi-gpu
       "-Wl,--suppress-stack-size-warning"
-      "-Wl,-mllvm,-nvptx-lower-global-ctor-dtor=1"
       "-Wl,-mllvm,-nvptx-emit-init-fini-kernel"
       -march=${LIBC_GPU_TARGET_ARCHITECTURE} -nostdlib -static
       "--cuda-path=${LIBC_CUDA_ROOT}")


        


More information about the libc-commits mailing list