[clang] Disable Driver/env.c on AIX (NFC) (PR #161874)
Kelvin Li via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 3 09:40:17 PDT 2025
https://github.com/kkwli created https://github.com/llvm/llvm-project/pull/161874
AIX does not use LD_LIBRARY_PATH.
>From cf0b0dec904bb9459b995a790bfea45eb4399acb Mon Sep 17 00:00:00 2001
From: Kelvin Li <kli at ca.ibm.com>
Date: Fri, 3 Oct 2025 12:37:58 -0400
Subject: [PATCH] Disable Driver/env.c on AIX (NFC)
AIX does not use LD_LIBRARY_PATH.
---
clang/test/Driver/env.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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 \
More information about the cfe-commits
mailing list