mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-27 18:48:14 +02:00
In the normal case, what we care about is how long the various builds take, and in the special case when something fails to build we can click to open the section and see the error. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670>
28 lines
651 B
Bash
28 lines
651 B
Bash
#!/usr/bin/env bash
|
|
# shellcheck disable=SC2086 # we want word splitting
|
|
|
|
# When changing this file, you need to bump the following
|
|
# .gitlab-ci/image-tags.yml tags:
|
|
# DEBIAN_BUILD_TAG
|
|
# FEDORA_X86_64_BUILD_TAG
|
|
|
|
section_start bindgen "Building bindgen"
|
|
|
|
BINDGEN_VER=0.71.1
|
|
CBINDGEN_VER=0.26.0
|
|
|
|
# bindgen
|
|
RUSTFLAGS='-L native=/usr/local/lib' cargo install \
|
|
bindgen-cli --version ${BINDGEN_VER} \
|
|
--locked \
|
|
-j ${FDO_CI_CONCURRENT:-4} \
|
|
--root /usr/local
|
|
|
|
# cbindgen
|
|
RUSTFLAGS='-L native=/usr/local/lib' cargo install \
|
|
cbindgen --version ${CBINDGEN_VER} \
|
|
--locked \
|
|
-j ${FDO_CI_CONCURRENT:-4} \
|
|
--root /usr/local
|
|
|
|
section_end bindgen
|