From 9366f1d4ab08d16c1983f205621621c7c2c77d47 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Feb 2026 05:08:51 +0000 Subject: [PATCH 1/2] Initial plan From 42444d3f3f989d356f0f830ab76071e6bfd86cdd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Feb 2026 05:11:24 +0000 Subject: [PATCH 2/2] Add powerpc64le vsx CI target Co-authored-by: Nugine <30099658+Nugine@users.noreply.github.com> --- .github/workflows/ci.yml | 5 +++++ scripts/testgen.py | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 150ed65..062273f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,7 @@ jobs: - x86_64-unknown-linux-gnu - i686-unknown-linux-gnu - aarch64-unknown-linux-gnu + - powerpc64le-unknown-linux-gnu # - armv7-unknown-linux-gnueabihf # FIXME - wasm32-unknown-unknown # - mips-unknown-linux-gnu # missing toolchain @@ -60,6 +61,10 @@ jobs: - uses: dtolnay/rust-toolchain@nightly with: targets: ${{ matrix.target }} + - if: matrix.target == 'powerpc64le-unknown-linux-gnu' + uses: docker/setup-qemu-action@v3 + with: + platforms: ppc64le - uses: taiki-e/install-action@v2 with: tool: cross diff --git a/scripts/testgen.py b/scripts/testgen.py index dbe4a3d..332cad6 100755 --- a/scripts/testgen.py +++ b/scripts/testgen.py @@ -35,6 +35,10 @@ "-C target-feature=+simd128", "", ], + "powerpc": [ + "-C target-feature=+vsx", + "", + ], "mips": [""], } @@ -48,6 +52,7 @@ "armv7-unknown-linux-gnueabihf", ], "wasm": ["wasm32-unknown-unknown"], + "powerpc": ["powerpc64le-unknown-linux-gnu"], "mips": ["mips-unknown-linux-gnu"], } @@ -57,10 +62,11 @@ "aarch64-unknown-linux-gnu": "arm", "armv7-unknown-linux-gnueabihf": "arm", "wasm32-unknown-unknown": "wasm", + "powerpc64le-unknown-linux-gnu": "powerpc", "mips-unknown-linux-gnu": "mips", } -TEST_MODES = ["x86", "arm", "wasm", "mips"] +TEST_MODES = ["x86", "arm", "wasm", "powerpc", "mips"] def gen(mode: str, target: str, rustflag: str, host: str):