mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 12:14:10 +08:00
2620a7064c
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29394>
21 lines
451 B
Bash
21 lines
451 B
Bash
#!/usr/bin/env bash
|
|
# shellcheck disable=SC2086 # we want word splitting
|
|
|
|
BINDGEN_VER=0.65.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
|
|
|