[PATCH] D143736: [PowerPC] Specify the dynamic loader prefix in ppc-float-abi-warning
Tulio Magno Quites Machado Filho via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 10 07:14:00 PST 2023
tuliom created this revision.
tuliom added a reviewer: qiucf.
Herald added subscribers: shchenz, kbarton, nemanjai.
Herald added a project: All.
tuliom requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143736
Files:
clang/test/Driver/ppc-float-abi-warning.cpp
Index: clang/test/Driver/ppc-float-abi-warning.cpp
===================================================================
--- clang/test/Driver/ppc-float-abi-warning.cpp
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143736.496462.patch
Type: text/x-patch
Size: 964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230210/11d75205/attachment.bin>
More information about the cfe-commits
mailing list