From d7d151eec0c8b050569416f54656f53cd8b21d65 Mon Sep 17 00:00:00 2001 From: ferreo Date: Tue, 26 Nov 2024 11:54:47 +0000 Subject: [PATCH] Add support for installing 32-bit SPIR-V LLVM libraries when PIKA_BUILD_ARCH is i386 in main.sh --- main.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.sh b/main.sh index 3981e95..7ab470b 100755 --- a/main.sh +++ b/main.sh @@ -8,6 +8,13 @@ source ./pika-build-config.sh echo "$PIKA_BUILD_ARCH" > pika-build-arch +if [[ "$PIKA_BUILD_ARCH" == "i386" ]] +then + wget http://ftp.us.debian.org/debian/pool/main/s/spirv-llvm-translator-19/libllvmspirvlib19.1_19.1.0-1_i386.deb -O ./32bit-spirv.deb + wget http://ftp.us.debian.org/debian/pool/main/s/spirv-llvm-translator-19/libllvmspirvlib-19-dev_19.1.0-1_i386.deb -O ./32bit-spirv-dev.deb + apt install -y ./32bit-spirv-dev.deb ./32bit-spirv.deb +fi + # Clone Upstream git clone https://gitlab.freedesktop.org/mesa/mesa -b mesa-"$VERSION" cp -rvf ./debian ./mesa/