- .fdo.container-build@debian
- .container
variables:
- FDO_DISTRIBUTION_TAG: &x86_build "2020-05-18-baremetal-2"
+ FDO_DISTRIBUTION_TAG: &x86_build "2020-05-19"
.use-x86_build:
variables:
x86_test-base:
extends: x86_build
variables:
- FDO_DISTRIBUTION_TAG: &x86_test-base "2020-05-26"
+ FDO_DISTRIBUTION_TAG: &x86_test-base "2020-06-01"
.use-x86_test-base:
extends:
x86_test-gl:
extends: .use-x86_test-base
variables:
- FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-05-26"
+ FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-06-01"
# Debian 10 based x86 test image for VK
x86_test-vk:
extends: .use-x86_test-base
variables:
- FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-05-26"
+ FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-06-01"
# Debian 9 based x86 build image (old LLVM)
x86_build_old:
extends: x86_build
variables:
- FDO_DISTRIBUTION_TAG: &x86_build_old "2019-03-18-jflags"
+ FDO_DISTRIBUTION_TAG: &x86_build_old "2020-04-27"
FDO_DISTRIBUTION_VERSION: stretch-slim
.use-x86_build_old:
- .fdo.container-build@debian@arm64v8
- .container
variables:
- FDO_DISTRIBUTION_TAG: &arm_build "2020-05-28-cheza-2"
+ FDO_DISTRIBUTION_TAG: &arm_build "2020-06-01"
.use-arm_build:
variables:
arm_test:
extends: x86_build
variables:
- FDO_DISTRIBUTION_TAG: &arm_test "2020-05-28-cheza-2"
+ FDO_DISTRIBUTION_TAG: &arm_test "2020-06-01"
.use-arm_test:
variables:
libvulkan-dev:armhf \
llvm-7-dev:armhf \
llvm-8-dev \
- meson \
pkg-config \
python \
python3-distutils \
+ python3-setuptools \
python3-mako \
python3-serial \
unzip \
xz-utils \
zlib1g-dev
+apt install -y --no-remove -t buster-backports \
+ meson
+
. .gitlab-ci/container/container_pre_build.sh
# dependencies where we want a specific version
DEBIAN_ARCH=armhf . .gitlab-ci/container/lava_arm.sh
apt-get purge -y \
- python3-distutils \
wget
. .gitlab-ci/container/container_post_build.sh
fastboot \
flex \
git \
- meson \
netcat \
python3-distutils \
python3-minimal \
u-boot-tools \
unzip
+apt install -t buster-backports -y --no-remove \
+ meson
+
# Cross-build test deps
for arch in $CROSS_ARCHITECTURES; do
apt-get install -y --no-remove \
llvm-6.0-dev \
llvm-7-dev \
llvm-9-dev \
- meson \
pkg-config \
python-mako \
python3-mako \
zlib1g-dev
apt-get install -y --no-remove -t buster-backports \
- libclang-8-dev
+ libclang-8-dev \
+ meson
# Cross-build Mesa deps
for arch in $CROSS_ARCHITECTURES; do
llvm-3.9-dev \
llvm-4.0-dev \
llvm-5.0-dev \
- meson \
+ ninja-build \
pkg-config \
python-mako \
python3-mako \
+ python3-pip \
+ python3-setuptools \
+ python3-wheel \
scons \
xz-utils \
zlib1g-dev
+# We need at least 0.52.0, which is not in stretch
+python3 -m pip install meson>=0.52
+
. .gitlab-ci/container/container_pre_build.sh
############### Uninstall unused packages
echo "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-9 main" >/etc/apt/sources.list.d/llvm9.list
sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
+echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list
echo 'deb https://deb.debian.org/debian testing main' >/etc/apt/sources.list.d/testing.list
apt-get update
libxrandr2 \
libxrender1 \
python \
+ python3-distutils \
python3-mako \
python3-numpy \
python3-pil \
apt-get purge -y \
gnupg
+apt-get install -t buster-backports -y --no-remove \
+ meson
+
apt-get autoremove -y --purge
libxkbcommon-dev \
libxrender-dev \
make \
- meson \
patch \
pkg-config \
- python3-distutils \
python3.7-dev \
wget \
xz-utils \
apt-get install -y -t testing \
$TESTING_EPHEMERAL
-
. .gitlab-ci/container/container_pre_build.sh
############### Build virglrenderer
libxkbcommon-dev \
libxrandr-dev \
libxrender-dev \
- meson \
p7zip \
pkg-config \
python3-distutils \
<p><strong>Mesa's Meson build system is generally considered stable and ready
for production.</strong></p>
-<p><strong>Mesa requires Meson >= 0.46.0 to build.</strong>
+<p><strong>Mesa requires Meson >= 0.52.0 to build.</strong>
<p>The Meson build of Mesa is tested on Linux, macOS, Windows, Cygwin, Haiku, FreeBSD,
DragonflyBSD, NetBSD, and should work on OpenBSD.</p>
-# Copyright © 2017-2019 Intel Corporation
+# Copyright © 2017-2020 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
[find_program('python', 'python3'), 'bin/meson_get_version.py']
).stdout(),
license : 'MIT',
- meson_version : '>= 0.46',
+ meson_version : '>= 0.52',
default_options : ['buildtype=debugoptimized', 'b_ndebug=if-release', 'c_std=c99', 'cpp_std=c++14']
)
with_gallium_lima = gallium_drivers.contains('lima')
with_gallium_zink = gallium_drivers.contains('zink')
-if cc.get_id().startswith('intel') and meson.version().version_compare('< 0.49.1')
- error('Meson does not have sufficient support of ICC before 0.49.1 to compile mesa')
-endif
-
with_gallium = gallium_drivers.length() != 0 and gallium_drivers != ['']
if with_gallium and system_has_kms_drm
pre_args += '-DHAVE_HAIKU_PLATFORM'
endif
-if meson.version().version_compare('>=0.50')
- prog_python = import('python').find_installation('python3')
-else
- prog_python = import('python3').find_python()
-endif
+prog_python = import('python').find_installation('python3')
has_mako = run_command(
prog_python, '-c',
'''
# has also been added, so we'll use that if we can, to cover the cmake case.
if dep_llvm.type_name() == 'internal'
_rtti = subproject('llvm').get_variable('has_rtti', true)
- elif meson.version().version_compare('>=0.51')
+ else
# The CMake finder will return 'ON', the llvm-config will return 'YES'
_rtti = ['ON', 'YES'].contains(dep_llvm.get_variable(cmake : 'LLVM_ENABLE_RTTI', configtool: 'has-rtti'))
- else
- _rtti = dep_llvm.get_configtool_variable('has-rtti') == 'YES'
endif
if not _rtti
if with_gallium_nouveau
# Disable deprecated keyword warnings, since we have to use them for
# old-bison compat. See discussion in
- # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2161
- if meson.version().version_compare('>= 0.52.0') and find_program('bison', required : false, version : '> 2.3').found()
+ # https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2161
+ if find_program('bison', required : false, version : '> 2.3').found()
prog_bison = [prog_bison, '-Wno-deprecated']
endif
if dep_llvm.type_name() == 'internal'
_irbuilder_h = subproject('llvm').get_variable('irbuilder_h')
else
- if meson.version().version_compare('>=0.51')
- _llvm_includedir = dep_llvm.get_variable(configtool : 'includedir', cmake : 'LLVM_INCLUDE_DIR')
- else
- _llvm_includedir = dep_llvm.get_configtool_variable('includedir')
- endif
+ _llvm_includedir = dep_llvm.get_variable(configtool : 'includedir', cmake : 'LLVM_INCLUDE_DIR')
_irbuilder_h = join_paths(_llvm_includedir, 'llvm', 'IR', 'IRBuilder.h')
endif