Author: Yaxun (Sam) Liu
Date: 2025-11-16T10:36:44-05:00
New Revision: e5b9e80a54bb75d4b0fee7197d78f909b1f4ba93

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

LOG: [ClangLinkerWrapper] Fix test linker-wrapper-hip-no-rdc.c

https://github.com/llvm/llvm-project/pull/167918 broke buildbots:

https://lab.llvm.org/buildbot/#/builders/64/builds/6531
https://lab.llvm.org/buildbot/#/builders/108/builds/19881

with error:

# | clang: error: unable to execute command: posix_spawn failed: No such file 
or directory
# | clang: error: ld.lld command failed with exit code 1 (use -v to see 
invocation)

This is due to the test requiring lld but these buildbots do not build them.

Fix the lit test by adding REQUIRES: lld

Added: 
    

Modified: 
    clang/test/Driver/linker-wrapper-hip-no-rdc.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/linker-wrapper-hip-no-rdc.c 
b/clang/test/Driver/linker-wrapper-hip-no-rdc.c
index d6838896f7093..7545205f22ea0 100644
--- a/clang/test/Driver/linker-wrapper-hip-no-rdc.c
+++ b/clang/test/Driver/linker-wrapper-hip-no-rdc.c
@@ -1,5 +1,6 @@
 // UNSUPPORTED: system-windows
 // REQUIRES: amdgpu-registered-target
+// REQUIRES: lld
 
 // Test HIP non-RDC linker wrapper behavior with new offload driver.
 // The linker wrapper should output .hipfb files directly without using -r 
option.


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to