ci: Install spirv-tools from Debian bullseye

v2:
* Drop local build from x86_test-gl image as well (Eric Anholt)

Reviewed-by: Eric Anholt <eric@anholt.net> # v1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
This commit is contained in:
Michel Dänzer 2021-03-22 16:31:48 +01:00 committed by Marge Bot
parent c743421f4e
commit 711b89454b
4 changed files with 5 additions and 22 deletions

View File

@ -313,7 +313,7 @@ x86_build:
extends:
- .use-x86_build-base
variables:
MESA_IMAGE_TAG: &x86_build "2021-04-13-bullseye"
MESA_IMAGE_TAG: &x86_build "2021-04-13-spirv-tools"
.use-x86_build:
extends:
@ -413,7 +413,7 @@ x86_test-base:
x86_test-gl:
extends: .use-x86_test-base
variables:
MESA_IMAGE_TAG: &x86_test-gl "2021-04-14-librenderdoc"
MESA_IMAGE_TAG: &x86_test-gl "2021-04-14-spirv-tools"
# Debian 11 based x86 test image for VK
x86_test-vk:

View File

@ -1,14 +0,0 @@
#!/bin/bash
set -ex
git clone --depth 1 https://github.com/KhronosGroup/SPIRV-Tools SPIRV-Tools
pushd SPIRV-Tools
pushd external
git clone --depth 1 https://github.com/KhronosGroup/SPIRV-Headers
popd
cmake -S . -B _build -G Ninja -DCMAKE_BUILD_TYPE=Release
ninja -C _build
ninja -C _build install
popd
rm -rf SPIRV-Tools

View File

@ -42,6 +42,7 @@ apt-get install -y --no-remove \
llvm-9-dev \
ocl-icd-opencl-dev \
procps \
spirv-tools \
strace \
time \
wine \
@ -91,7 +92,6 @@ tar -xvf libglvnd-v$GLVND_VERSION.tar.gz && rm libglvnd-v$GLVND_VERSION.tar.gz
pushd libglvnd-v$GLVND_VERSION; ./autogen.sh; ./configure; make install; popd
rm -rf libglvnd-v$GLVND_VERSION
. .gitlab-ci/container/build-spirv-tools.sh
git clone https://github.com/KhronosGroup/SPIRV-LLVM-Translator -b llvm_release_110 --single-branch --shallow-since=2020-11-12
pushd SPIRV-LLVM-Translator

View File

@ -46,7 +46,8 @@ apt-get install -y --no-remove \
ocl-icd-libopencl1 \
python3-lxml \
python3-renderdoc \
python3-simplejson
python3-simplejson \
spirv-tools
. .gitlab-ci/container/container_pre_build.sh
@ -56,10 +57,6 @@ apt-get install -y --no-remove \
. .gitlab-ci/container/build-libdrm.sh
############### Build spirv-tools (debian too old)
. .gitlab-ci/container/build-spirv-tools.sh
############### Build libclc
. .gitlab-ci/container/build-libclc.sh