From 0f4d4d1078698f18102e1404ac886e8744a49fc8 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 21 Jan 2023 14:43:41 +0100 Subject: extra/mesa: disable libclc --- extra/mesa/PKGBUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'extra/mesa') diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD index b99acf24..fee4b17d 100644 --- a/extra/mesa/PKGBUILD +++ b/extra/mesa/PKGBUILD @@ -23,9 +23,21 @@ if [ "$CARCH" == 'i486' ]; then )" fi +# disable libclc +makedepends=(${makedepends[@]//libclc/}) +eval "$( + declare -f package_opencl-mesa \ + | sed ' + /depends=/ { + s/'"'"'libclc'"'"'// + } + ' +)" + # See https://bugs.freedesktop.org/show_bug.cgi?id=93089 # do not build/package vulkan on i486 # do not build i915,i965 on i486 +# libclc doesn't build at all on 32-bit if [ "$CARCH" = 'i486' ]; then eval "$( declare -f build | \ @@ -51,5 +63,10 @@ if [ "$CARCH" = 'i486' ]; then 3 i if false; then $ i fi ' + declare -f package_opencl-mesa | \ + sed ' + 3 i if false; then + $ i fi + ' )" fi -- cgit v1.2.3-54-g00ecf