mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 16:00:08 +01:00
rusticl: fix build error with valgrind being enabled
This bumps the meson requierement to 1.0 because it requires https://github.com/mesonbuild/meson/pull/11024 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7688 Fixes:20c90fed5a("rusticl: added") Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19778> (cherry picked from commit4b841cfec8) Conflicts: .gitlab-ci/image-tags.yml Stable: - Create a custom CI tag for 23.0, as we're lacking some patches necessary to use the same CI images as main, and I don't want to pull that many CI changes into the stable branch
This commit is contained in:
parent
53c7beedec
commit
49d677d326
6 changed files with 11 additions and 7 deletions
|
|
@ -78,8 +78,8 @@ apt-get install -y --no-remove \
|
||||||
# Needed for ci-fairy, this revision is able to upload files to MinIO
|
# Needed for ci-fairy, this revision is able to upload files to MinIO
|
||||||
pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@ffe4d1b10aab7534489f0c4bbc4c5899df17d3f2
|
pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@ffe4d1b10aab7534489f0c4bbc4c5899df17d3f2
|
||||||
|
|
||||||
# We need at least 0.61.4 for proper Rust; 0.62 for modern meson env2mfile
|
# We need at least 1.0.0 for proper Rust; 0.62 for modern meson env2mfile
|
||||||
pip3 install meson==0.63.3
|
pip3 install meson==1.0.0
|
||||||
|
|
||||||
. .gitlab-ci/container/build-rust.sh
|
. .gitlab-ci/container/build-rust.sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
variables:
|
variables:
|
||||||
DEBIAN_X86_BUILD_BASE_IMAGE: "debian/x86_build-base"
|
DEBIAN_X86_BUILD_BASE_IMAGE: "debian/x86_build-base"
|
||||||
DEBIAN_BASE_TAG: "2023-01-10-robust-wget"
|
DEBIAN_BASE_TAG: "2023-01-31-rust-valgrind-23-stable"
|
||||||
|
|
||||||
DEBIAN_X86_BUILD_IMAGE_PATH: "debian/x86_build"
|
DEBIAN_X86_BUILD_IMAGE_PATH: "debian/x86_build"
|
||||||
DEBIAN_BUILD_TAG: "2023-01-09-lavacli"
|
DEBIAN_BUILD_TAG: "2023-01-09-lavacli"
|
||||||
|
|
|
||||||
|
|
@ -355,7 +355,7 @@
|
||||||
"description": "rusticl: fix build error with valgrind being enabled",
|
"description": "rusticl: fix build error with valgrind being enabled",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 1,
|
"nomination_type": 1,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": "20c90fed5a0ab0202ee1ef474c71cb816164a448"
|
"because_sha": "20c90fed5a0ab0202ee1ef474c71cb816164a448"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ To build Rusticl you need to satisfy the following build dependencies:
|
||||||
The minimum versions to build Rusticl are:
|
The minimum versions to build Rusticl are:
|
||||||
|
|
||||||
- Rust: 1.59
|
- Rust: 1.59
|
||||||
- Meson: 0.61.4
|
- Meson: 1.0.0
|
||||||
- Bindgen: 0.58.0
|
- Bindgen: 0.58.0
|
||||||
- LLVM: 11.0.0 (recommended: 15.0.0)
|
- LLVM: 11.0.0 (recommended: 15.0.0)
|
||||||
- SPIRV-Tools: any version (recommended: v2022.3)
|
- SPIRV-Tools: any version (recommended: v2022.3)
|
||||||
|
|
|
||||||
|
|
@ -957,8 +957,8 @@ if with_gallium_rusticl
|
||||||
error('rusticl requires at least one gallium driver.')
|
error('rusticl requires at least one gallium driver.')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if meson.version().version_compare('< 0.61.4')
|
if meson.version().version_compare('< 1.0.0')
|
||||||
error('rusticl requires meson 0.61.4 or newer')
|
error('rusticl requires meson 1.0.0 or newer')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
add_languages('rust', required: true)
|
add_languages('rust', required: true)
|
||||||
|
|
|
||||||
|
|
@ -195,6 +195,7 @@ rusticl_mesa_bindings_inline_wrapper = static_library(
|
||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
idep_nir_headers,
|
idep_nir_headers,
|
||||||
|
dep_valgrind,
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -209,6 +210,9 @@ rusticl_mesa_bindings_rs = rust.bindgen(
|
||||||
inc_nir,
|
inc_nir,
|
||||||
inc_src,
|
inc_src,
|
||||||
],
|
],
|
||||||
|
dependencies: [
|
||||||
|
dep_valgrind,
|
||||||
|
],
|
||||||
c_args : [
|
c_args : [
|
||||||
rusticl_bindgen_c_args,
|
rusticl_bindgen_c_args,
|
||||||
pre_args,
|
pre_args,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue