[clang] Disable Driver/env.c on AIX (NFC) (PR #161874)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 3 09:40:52 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-driver

@llvm/pr-subscribers-clang

Author: Kelvin Li (kkwli)

<details>
<summary>Changes</summary>

AIX does not use LD_LIBRARY_PATH.

---
Full diff: https://github.com/llvm/llvm-project/pull/161874.diff


1 Files Affected:

- (modified) clang/test/Driver/env.c (+3-1) 


``````````diff
diff --git a/clang/test/Driver/env.c b/clang/test/Driver/env.c
index 56c037c222e54..a84354ef88b98 100644
--- a/clang/test/Driver/env.c
+++ b/clang/test/Driver/env.c
@@ -1,5 +1,7 @@
 // Some assertions in this test use Linux style (/) file paths.
-// UNSUPPORTED: system-windows
+// UNSUPPORTED: system-windows, system-aix
+// FIXME: Use LIBPATH on AIX
+
 // RUN: bash -c env | grep LD_LIBRARY_PATH | sed -ne 's/^.*=//p' | tr -d '\n' > %t.ld_library_path
 // The PATH variable is heavily used when trying to find a linker.
 // RUN: env -i LC_ALL=C LD_LIBRARY_PATH="%{readfile:%t.ld_library_path}" CLANG_NO_DEFAULT_CONFIG=1 \

``````````

</details>


https://github.com/llvm/llvm-project/pull/161874


More information about the cfe-commits mailing list