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
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
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits