Update LLVM to 16.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23359>
-#!/bin/bash
-# shellcheck disable=SC2086 # we want word splitting
-
+#!/usr/bin/env bash
+# shellcheck disable=SC1091
set -e
set -o xtrace
+EPHEMERAL=(
+ autoconf
+ automake
+ bzip2
+ libtool
+ libepoxy-dev
+ libtbb-dev
+ make
+ openssl-dev
+ unzip
+)
-EPHEMERAL="
- autoconf
- automake
- bzip2
- cmake
- git
- libtool
- libepoxy-dev
- libtbb-dev
- make
- openssl-dev
- unzip
- xz
- zstd-dev
- "
-apk add \
- bash \
- bison \
- ccache \
- clang-dev \
- coreutils \
- curl \
- flex \
- gcc \
- g++ \
- gettext \
- glslang \
- linux-headers \
- llvm15-dev \
- meson \
- expat-dev \
- elfutils-dev \
- libselinux-dev \
- libva-dev \
- libpciaccess-dev \
- zlib-dev \
- python3-dev \
- py3-mako \
- py3-ply \
- vulkan-headers \
- spirv-tools-dev \
- util-macros \
- $EPHEMERAL
+DEPS=(
+ bash
+ bison
+ ccache
+ cmake
+ clang-dev
+ coreutils
+ curl
+ flex
+ gcc
+ g++
+ git
+ gettext
+ glslang
+ linux-headers
+ llvm16-dev
+ meson
+ expat-dev
+ elfutils-dev
+ libdrm-dev
+ libselinux-dev
+ libva-dev
+ libpciaccess-dev
+ zlib-dev
+ python3-dev
+ py3-mako
+ py3-ply
+ vulkan-headers
+ spirv-tools-dev
+ util-macros
+ wayland-dev
+ wayland-protocols
+)
+apk add "${DEPS[@]}" "${EPHEMERAL[@]}"
. .gitlab-ci/container/container_pre_build.sh
-. .gitlab-ci/container/build-libdrm.sh
-
-. .gitlab-ci/container/build-wayland.sh
-
pushd /usr/local
git clone https://gitlab.freedesktop.org/mesa/shader-db.git --depth 1
rm -rf shader-db/.git
############### Uninstall the build software
-apk del $EPHEMERAL
+apk del "${EPHEMERAL[@]}"
. .gitlab-ci/container/container_post_build.sh
- .fdo.container-build@alpine
- .container
variables:
- FDO_DISTRIBUTION_VERSION: "3.17"
+ FDO_DISTRIBUTION_VERSION: "3.18"
MESA_IMAGE_TAG: &alpine-x86_build ${ALPINE_X86_BUILD_TAG}
.use-alpine/x86_build:
DEBIAN_X86_TEST_GL_TAG: "2023-05-31-vvl"
DEBIAN_X86_TEST_VK_TAG: "2023-05-25-vkd3d-proton"
- ALPINE_X86_BUILD_TAG: "2023-03-20-3.17-bump"
+ ALPINE_X86_BUILD_TAG: "2023-05-01-3.18-bump-1"
FEDORA_X86_BUILD_TAG: "2023-04-26-rusticl"
KERNEL_ROOTFS_TAG: "2023-05-31-vvl"