From 541a2a5e9170a6f633e24513359cfe92d8ba50af Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 19 Jan 2023 16:39:50 +0000 Subject: [PATCH] lib.platforms.power: init --- lib/systems/doubles.nix | 1 + lib/tests/systems.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix index 7ec371d0e871..91b0a55fedd3 100644 --- a/lib/systems/doubles.nix +++ b/lib/systems/doubles.nix @@ -76,6 +76,7 @@ in { microblaze = filterDoubles predicates.isMicroBlaze; mips = filterDoubles predicates.isMips; mmix = filterDoubles predicates.isMmix; + power = filterDoubles predicates.isPower; riscv = filterDoubles predicates.isRiscV; riscv32 = filterDoubles predicates.isRiscV32; riscv64 = filterDoubles predicates.isRiscV64; diff --git a/lib/tests/systems.nix b/lib/tests/systems.nix index e793cdd3ffd0..5808154ba805 100644 --- a/lib/tests/systems.nix +++ b/lib/tests/systems.nix @@ -20,6 +20,7 @@ with lib.systems.doubles; lib.runTests { testi686 = mseteq i686 [ "i686-linux" "i686-freebsd13" "i686-genode" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" "i686-darwin" ]; testmips = mseteq mips [ "mips64el-linux" "mipsel-linux" "mipsel-netbsd" ]; testmmix = mseteq mmix [ "mmix-mmixware" ]; + testpower = mseteq power [ "powerpc-netbsd" "powerpc-none" "powerpc64-linux" "powerpc64le-linux" "powerpcle-none" ]; testriscv = mseteq riscv [ "riscv32-linux" "riscv64-linux" "riscv32-netbsd" "riscv64-netbsd" "riscv32-none" "riscv64-none" ]; testriscv32 = mseteq riscv32 [ "riscv32-linux" "riscv32-netbsd" "riscv32-none" ]; testriscv64 = mseteq riscv64 [ "riscv64-linux" "riscv64-netbsd" "riscv64-none" ];