ci: bump Alpine to 3.18
authorDavid Heidelberg <david.heidelberg@collabora.com>
Thu, 1 Jun 2023 08:47:43 +0000 (10:47 +0200)
committerDavid Heidelberg <david.heidelberg@collabora.com>
Thu, 1 Jun 2023 11:13:31 +0000 (13:13 +0200)
Update LLVM to 16.

Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23359>

.gitlab-ci/container/alpine/x86_build.sh
.gitlab-ci/container/gitlab-ci.yml
.gitlab-ci/image-tags.yml

index f7c91d3..cd643eb 100644 (file)
@@ -1,62 +1,59 @@
-#!/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
@@ -67,6 +64,6 @@ popd
 
 ############### Uninstall the build software
 
-apk del $EPHEMERAL
+apk del "${EPHEMERAL[@]}"
 
 . .gitlab-ci/container/container_post_build.sh
index 9e2a1df..016ca6c 100644 (file)
@@ -281,7 +281,7 @@ alpine/x86_build:
     - .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:
index 2bd7cb3..d89ff35 100644 (file)
@@ -19,7 +19,7 @@ variables:
    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"