Add powerpc64le-unknown-freebsd image#1781
Open
pkubaj wants to merge 1 commit into
Open
Conversation
9 tasks
e09f30c to
d593160
Compare
Adds a cross image and target entry for powerpc64le-unknown-freebsd, mirroring the existing aarch64-unknown-freebsd support: a Dockerfile that builds a binutils/gcc cross toolchain against a FreeBSD 13 powerpc64le sysroot (assembled from the release base.txz), the freebsd-common.sh arch mapping (FreeBSD ships powerpc64le releases under powerpc/powerpc64le/), and the targets.toml entry that drives CI and codegen. Also teach Architecture parsing the `powerpc64le` arch string: the FreeBSD targets are TargetTriple::Other, so ImagePlatform::from_target parses the arch substring, and the Ppc64Le variant lacked a `powerpc64le` alias (it only matched the lowercase `ppc64le`), causing "architecture powerpc64le is not supported". This mirrors the existing `powerpc64` alias on Ppc64 and `aarch64` alias on Arm64. src/docker/provided_images.rs regenerated via `cargo xtask codegen`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a cross image and target entry for powerpc64le-unknown-freebsd,
mirroring the existing aarch64-unknown-freebsd support: a Dockerfile
that builds a binutils/gcc cross toolchain against a FreeBSD 13
powerpc64le sysroot (assembled from the release base.txz), the
freebsd-common.sh arch mapping (FreeBSD ships powerpc64le releases
under powerpc/powerpc64le/), and the targets.toml entry that drives
CI and codegen.
Also teach Architecture parsing the
powerpc64learch string: theFreeBSD targets are TargetTriple::Other, so ImagePlatform::from_target
parses the arch substring, and the Ppc64Le variant lacked a
powerpc64lealias (it only matched the lowercaseppc64le), causing"architecture powerpc64le is not supported". This mirrors the existing
powerpc64alias on Ppc64 andaarch64alias on Arm64.src/docker/provided_images.rs regenerated via
cargo xtask codegen.