From 1f478b5c4f12b74b003d3976019fb62324eb9a55 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Mon, 10 Mar 2025 20:45:24 -0400 Subject: add arm32 and ppc64le targets --- .github/workflows/ci.yaml | 8 ++++++++ lwjgl.nix | 2 ++ pkgs/lwjgl/default.nix | 2 ++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b75aed6..60a22a6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,6 +36,14 @@ jobs: system: x86_64-linux target: aarch64-unknown-linux-gnu + - os: ubuntu-latest + system: x86_64-linux + target: armv7l-unknown-linux-gnueabihf + + - os: ubuntu-latest + system: x86_64-linux + target: powerpc64le-unknown-linux-gnu + - os: ubuntu-latest system: x86_64-linux target: riscv64-unknown-linux-gnu diff --git a/lwjgl.nix b/lwjgl.nix index 1ca4bcc..ef77611 100644 --- a/lwjgl.nix +++ b/lwjgl.nix @@ -4,6 +4,8 @@ targets = [ "x86_64-unknown-linux-gnu" "aarch64-unknown-linux-gnu" + "armv7l-unknown-linux-gnueabihf" + "powerpc64le-unknown-linux-gnu" "riscv64-unknown-linux-gnu" ]; diff --git a/pkgs/lwjgl/default.nix b/pkgs/lwjgl/default.nix index d287a83..4c87ec0 100644 --- a/pkgs/lwjgl/default.nix +++ b/pkgs/lwjgl/default.nix @@ -180,6 +180,8 @@ stdenv.mkDerivation ( "arm32" else if stdenv.hostPlatform.isRiscV64 then "riscv64" + else if stdenv.hostPlatform.isPower64 then + "ppc64le" else throw "${stdenv.hostPlatform.cpu.name} is not a supported architecture"; LWJGL_BUILD_OFFLINE = "yes"; -- cgit v1.2.3