Update main.sh

This commit is contained in:
ferreo 2024-11-26 13:34:20 +01:00
parent 5dacf9a4db
commit f17e8f6d78

View File

@ -15,6 +15,13 @@ then
apt install -y ./32bit-spirv-dev.deb ./32bit-spirv.deb apt install -y ./32bit-spirv-dev.deb ./32bit-spirv.deb
fi fi
if [[ "$PIKA_BUILD_ARCH" == "amd64" ]]
then
wget http://ftp.us.debian.org/debian/pool/main/s/spirv-llvm-translator-19/libllvmspirvlib19.1_19.1.0-1_amd64.deb -O ./64bit-spirv.deb
wget http://ftp.us.debian.org/debian/pool/main/s/spirv-llvm-translator-19/libllvmspirvlib-19-dev_19.1.0-1_amd64.deb -O ./64bit-spirv-dev.deb
apt install -y ./64bit-spirv-dev.deb ./64bit-spirv.deb
fi
# Clone Upstream # Clone Upstream
git clone https://gitlab.freedesktop.org/mesa/mesa -b mesa-"$VERSION" git clone https://gitlab.freedesktop.org/mesa/mesa -b mesa-"$VERSION"
cp -rvf ./debian ./mesa/ cp -rvf ./debian ./mesa/