From 441ed3bdcc563561e5630e36113bf37ee0903e0d Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 11 Dec 2024 09:30:50 -0500 Subject: [PATCH] Remove `powerpc64le-unknown-linux-musl` target (#9810) ## Summary This is blocking the release (#9793). We seem to have hit some sort of limit that's causing builds to fail on this target. It's a Tier 3 Rust target with _unknown_ (???) `std` support (see the question mark [here](https://doc.rust-lang.org/rustc/platform-support.html)). --- .github/workflows/build-binaries.yml | 7 +------ Cargo.toml | 5 ----- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 12c172a808c0..2560c5dde29f 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -578,11 +578,6 @@ jobs: maturin_docker_options: -e JEMALLOC_SYS_WITH_LG_PAGE=16 - target: armv7-unknown-linux-musleabihf arch: armv7 - - target: powerpc64le-unknown-linux-musl - arch: ppc64le - # see https://github.com/astral-sh/uv/issues/6528 - maturin_docker_options: -e JEMALLOC_SYS_WITH_LG_PAGE=16 - toolchain: nightly fail-fast: false steps: @@ -599,7 +594,7 @@ jobs: with: target: ${{ matrix.platform.target }} manylinux: musllinux_1_1 - args: ${{ matrix.platform.arch == 'ppc64le' && '--profile release-no-lto' || '--release'}} --locked --out dist --features self-update ${{ matrix.platform.arch == 'aarch64' && '--compatibility 2_17' || ''}} + args: --release --locked --out dist --features self-update ${{ matrix.platform.arch == 'aarch64' && '--compatibility 2_17' || ''}} docker-options: ${{ matrix.platform.maturin_docker_options }} rust-toolchain: ${{ matrix.platform.toolchain || null }} - uses: uraimo/run-on-arch-action@v2 diff --git a/Cargo.toml b/Cargo.toml index 729776ab1449..184ab0983c46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -228,11 +228,6 @@ if_not_else = "allow" strip = true lto = "fat" -# This profile disables LTO and is used for ppc64le musl cross builds which fail otherwise -[profile.release-no-lto] -inherits = "release" -lto = false - # This profile is meant to mimic the `release` profile as closely as # possible, but using settings that are more beneficial for iterative # development. That is, the `release` profile is intended for actually