[clang] cb90bb9 - [PowerPC] Specify the dynamic loader prefix in ppc-float-abi-warning
Qiu Chaofan via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 13 23:06:59 PST 2023
Author: Tulio Magno Quites Machado Filho
Date: 2023-02-14T15:03:58+08:00
New Revision: cb90bb986611bab58dbe05cefb0903e0a07f3cca
URL: https://github.com/llvm/llvm-project/commit/cb90bb986611bab58dbe05cefb0903e0a07f3cca
DIFF: https://github.com/llvm/llvm-project/commit/cb90bb986611bab58dbe05cefb0903e0a07f3cca.diff
LOG: [PowerPC] Specify the dynamic loader prefix in ppc-float-abi-warning
Ensure the tests do not fail during cross compilation by specifying
the dynamic loader prefix for a GNU installation that is expected to
support IEEE 128-bit long double.
Reviewed By: qiucf
Differential Revision: https://reviews.llvm.org/D143736
Added:
Modified:
clang/test/Driver/ppc-float-abi-warning.cpp
Removed:
################################################################################
diff --git a/clang/test/Driver/ppc-float-abi-warning.cpp b/clang/test/Driver/ppc-float-abi-warning.cpp
index e3baa9f4c059d..87d6d87a3b31e 100644
--- a/clang/test/Driver/ppc-float-abi-warning.cpp
+++ b/clang/test/Driver/ppc-float-abi-warning.cpp
@@ -17,10 +17,12 @@
// RUN: -mabi=ieeelongdouble -stdlib=libc++ -Wno-unsupported-abi 2>&1 | \
// RUN: FileCheck %s --check-prefix=NOWARN
// RUN: %clang -### --driver-mode=g++ -target powerpc64le-linux-gnu %s\
+// RUN: --dyld-prefix=%S/Inputs/powerpc64le-linux-gnu-tree/gcc-12 \
// RUN: -mabi=%if ppc_linux_default_ieeelongdouble %{ieeelongdouble%} \
// RUN: %else %{ibmlongdouble%} -stdlib=libc++ 2>&1 | \
// RUN: FileCheck %s --check-prefix=NOWARN
// RUN: %clang -### --driver-mode=g++ -target powerpc64le-linux-gnu %s\
+// RUN: --dyld-prefix=%S/Inputs/powerpc64le-linux-gnu-tree/gcc-12 \
// RUN: -mabi=%if ppc_linux_default_ieeelongdouble %{ibmlongdouble%} \
// RUN: %else %{ieeelongdouble%} -stdlib=libc++ 2>&1 | FileCheck %s
More information about the cfe-commits
mailing list