Project:Rust/Rust bump
From Gentoo Wiki
Jump to:navigation
Jump to:search
Main Bump
- check the needed LLVM version in upstream (search for "src/llvm-project") - this is the correct value for
LLVM_COMPAT
- bump dev-lang/rust-common
- bump dev-lang/rust-bin, update date in
MY_SRC_URI
, updateLLVM_COMPAT
, comment out tarballs for niche arches (don't remove). - bump dev-lang/rust, update
LLVM_COMPAT
- bump dev-lang/rust-std
- add version to
_RUST_LLVM_MAP
and_RUST_SLOTS_ORDERED
in eclass/rust.eclass - add force matching llvm USE flag in profiles/base/package.use.force
Building tarballs for niche arches
Wait for the main bump to sync into metadata ::gentoo repo.
user $
ssh devbox.amd64.dev.gentoo.org
root (amd64) #
machinectl start rust-builder
root (amd64) #
systemd-run -M rust-builder -E RUST_VERSION=${PV} /usr/local/bin/build-all.sh
root (amd64) #
for rust_dist in /var/lib/machines/rust-builder/usr/*/usr/lib/rust/*/dist; do pushd "${rust_dist}"; curl -L "https://gitlab.gentoo.org/-/snippets/3/raw/main/prepare-tarball.sh" | bash ; popd; done
root (amd64) #
systemd-run -M rust-builder /usr/local/bin/all-cleanup.sh
Now use the tarballs located in /tmp/rust-*, copy to devspace and update rust-bin ebuild by uncommenting the lines. You can use my Makefile