summaryrefslogtreecommitdiff
path: root/user/clang
diff options
context:
space:
mode:
Diffstat (limited to 'user/clang')
-rw-r--r--user/clang/APKBUILD14
-rw-r--r--user/clang/ppc-interp.patch35
2 files changed, 1 insertions, 48 deletions
diff --git a/user/clang/APKBUILD b/user/clang/APKBUILD
index 7d8f46369..5084a4020 100644
--- a/user/clang/APKBUILD
+++ b/user/clang/APKBUILD
@@ -3,7 +3,7 @@
pkgname=clang
# Note: Update together with llvm.
pkgver=18.1.8
-pkgrel=0
+pkgrel=1
_llvmver=${pkgver%%.*}
pkgdesc="A C language family front-end for LLVM"
arch="all"
@@ -21,7 +21,6 @@ source="https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/l
big-endian-32.patch
cfe-005-ppc64-dynamic-linker-path.patch
ppc-dirwatcher.patch
- ppc-interp.patch
use-llvm-lit.patch
"
builddir="$srcdir/llvm-project-$pkgver.src/$pkgname"
@@ -66,16 +65,6 @@ prepare() {
rm -f test/Driver/ppc-float-abi-warning.cpp
# known broken on 32-bit platforms
rm -f test/CodeGenCUDA/static-device-var-rdc.cu
-
- case $CARCH in
- ppc)
- for _interp_test in code-undo.cpp const.cpp execute-stmts.cpp \
- execute-weak.cpp execute.cpp fail.cpp global-dtor.cpp \
- inline-virtual.cpp lambda.cpp multiline.cpp \
- simple-exception.cpp; do
- rm test/Interpreter/$_interp_test
- done;;
- esac
}
build() {
@@ -166,5 +155,4 @@ d37d2339a76c21666aa4405b2a620100e6967eb933535b5cea05f5de25a4d7551047944350071552
241a087888b7b5373b54653c4675c77c70d82b61a1b79359cba7d5fe0187851e790cb4e7e278a0a59c660b9a980cf087b393dc43a19a975fc9b97717bca12bc4 big-endian-32.patch
8272ec0eeb93287c9cc961099139f7cb0f94561befc31a4521387fa5f7216dc4b3d99750c4560a0b71ec4acde5bd776abef733cfafe81058ef054b62f72fc209 cfe-005-ppc64-dynamic-linker-path.patch
0032fdd3864870d345caff9c4ff44f58bebc802bddf06c4b3bf30276c89e237167e6dea03456d322d3f6e2ee5e3a2ecf9f649ed033f0ab078b80bda44371b3ce ppc-dirwatcher.patch
-a2d90bcfc7cee261d6c8ac3b5dd011f55eab94deff456b63c5ef3598397e358b271e7ae86dec9e56c09c874736645ffbecccde4d31826d9b20908a4a16c61387 ppc-interp.patch
6c6b4fc49539ecf02e4eec9c2bbd89cc37fe01383e7884aa52c90ab0a4aa23cd9a86716bc645af6949f787d2fe3b9a3ad177baef1edbec928437872d14db536d use-llvm-lit.patch"
diff --git a/user/clang/ppc-interp.patch b/user/clang/ppc-interp.patch
deleted file mode 100644
index fae58aa3d..000000000
--- a/user/clang/ppc-interp.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-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,4 +1,4 @@
--// UNSUPPORTED: system-aix
-+// UNSUPPORTED: system-aix, powerpc-
-
- // clang-format off
- // RUN: clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' \
---- clang/unittests/Interpreter/InterpreterTest.cpp.old 2024-10-10 18:11:05.390017076 +0000
-+++ clang/unittests/Interpreter/InterpreterTest.cpp 2024-10-10 22:34:07.176019197 +0000
-@@ -30,7 +30,7 @@
-
- using namespace clang;
-
--#if defined(_AIX)
-+#if defined(_AIX) || (!defined(__powerpc64__) && defined(__powerpc__))
- #define CLANG_INTERPRETER_NO_SUPPORT_EXEC
- #endif
-
---- clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp.old 2024-06-15 17:21:32.000000000 +0000
-+++ clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp 2024-10-10 22:36:53.358466534 +0000
-@@ -113,8 +113,8 @@
- if (Triple.isOSAIX())
- GTEST_SKIP();
-
-- // FIXME: ARM fails due to `Not implemented relocation type!`
-- if (Triple.isARM())
-+ // FIXME: ARM and PPC32 fail due to `Not implemented relocation type!`
-+ if (Triple.isARM() || Triple.isPPC32())
- GTEST_SKIP();
-
- // FIXME: libunwind on darwin is broken, see PR49692.