diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-04-27 14:04:08 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-04-28 08:17:02 +0000 |
commit | 2a6288d9b93f5b48782cac76d21f696bf5184cce (patch) | |
tree | 517ae33708df461a89be0bcb2bd6674eaf25c3f1 /lib/tests/systems.nix | |
parent | ed24c902d0f01adb63626228d35666860f4f3f35 (diff) |
lib.systems: add riscv{32,64} sets and filters
For other platforms like Intel and ARM, we can do e.g. lib.platforms.aarch64 to get only the 64-bit ARM platorms, but until now there were no equivalents for RISC-V.
Diffstat (limited to 'lib/tests/systems.nix')
-rw-r--r-- | lib/tests/systems.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tests/systems.nix b/lib/tests/systems.nix index 205ca9c11d332..46e7bd992f1e6 100644 --- a/lib/tests/systems.nix +++ b/lib/tests/systems.nix @@ -20,6 +20,8 @@ with lib.systems.doubles; lib.runTests { testmips = mseteq mips [ "mips64el-linux" "mipsel-linux" "mipsel-netbsd" ]; testmmix = mseteq mmix [ "mmix-mmixware" ]; 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" ]; testx86_64 = mseteq x86_64 [ "x86_64-linux" "x86_64-darwin" "x86_64-freebsd" "x86_64-genode" "x86_64-redox" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin" "x86_64-solaris" "x86_64-windows" "x86_64-none" ]; testcygwin = mseteq cygwin [ "i686-cygwin" "x86_64-cygwin" ]; |