diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-05 02:23:19 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-05 02:23:19 +0000 |
commit | 1f70373be016b80505407f5b2f2d813b6d782694 (patch) | |
tree | 331cddf4323c2eb1c0e3beba47afbc32e7da71ad /user/clang/ppc-interp.patch | |
parent | 0ef3b184a5fe0c69b8b9b53e010362c07f09a2ac (diff) | |
download | packages-1f70373be016b80505407f5b2f2d813b6d782694.tar.gz packages-1f70373be016b80505407f5b2f2d813b6d782694.tar.bz2 packages-1f70373be016b80505407f5b2f2d813b6d782694.tar.xz packages-1f70373be016b80505407f5b2f2d813b6d782694.zip |
user/clang: Disable tests on PowerPC
The Interpreter unit-test is already disabled on AIX, so it is likely
ABI-related. The other Interpreter test needs R_PPC_REL24 to be
implemented in the LLVM RuntimeDyld to work.
The DirectoryWatcher tests are all broken for unknown reasons, but don't
affect actual compilation so we just skip them for now.
Fixes: #848
Diffstat (limited to 'user/clang/ppc-interp.patch')
-rw-r--r-- | user/clang/ppc-interp.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/user/clang/ppc-interp.patch b/user/clang/ppc-interp.patch new file mode 100644 index 000000000..a8cb6bc90 --- /dev/null +++ b/user/clang/ppc-interp.patch @@ -0,0 +1,25 @@ +PPC32 doesn't support some of the clang-repl due to R_PPC_REL24 not being +implemented in RuntimeDyld. + +--- clang-14.0.6.src/test/Interpreter/execute.cpp.old 2022-06-22 16:46:24.000000000 +0000 ++++ clang-14.0.6.src/test/Interpreter/execute.cpp 2022-12-05 01:04:26.517960246 +0000 +@@ -1,7 +1,7 @@ + // RUN: clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' \ + // RUN: 'auto r1 = printf("i = %d\n", i);' | FileCheck --check-prefix=CHECK-DRIVER %s + // REQUIRES: host-supports-jit +-// UNSUPPORTED: system-aix ++// UNSUPPORTED: system-aix, powerpc- + // CHECK-DRIVER: i = 10 + // RUN: cat %s | clang-repl | FileCheck %s + extern "C" int printf(const char *, ...); +--- clang-14.0.6.src/unittests/Interpreter/InterpreterTest.cpp.old 2022-06-22 16:46:24.000000000 +0000 ++++ clang-14.0.6.src/unittests/Interpreter/InterpreterTest.cpp 2022-12-05 01:53:47.058187317 +0000 +@@ -205,7 +205,7 @@ + return R.getFoundDecl(); + } + +-#ifdef _AIX ++#if defined(_AIX) || (!defined(__powerpc64__) && defined(__powerpc__)) + TEST(IncrementalProcessing, DISABLED_InstantiateTemplate) { + #else + TEST(IncrementalProcessing, InstantiateTemplate) { |