mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 22:34:28 +00:00
test: Add riscv(32,64)-linux-(none,musl) with soft float to module tests.
This commit is contained in:
parent
0941364d70
commit
6302a90cbf
1 changed files with 29 additions and 1 deletions
|
|
@ -579,6 +579,20 @@ const test_targets = blk: {
|
||||||
.link_libc = true,
|
.link_libc = true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = std.Target.Query.parse(.{
|
||||||
|
.arch_os_abi = "riscv32-linux-none",
|
||||||
|
.cpu_features = "baseline-d-f",
|
||||||
|
}) catch unreachable,
|
||||||
|
},
|
||||||
|
.{
|
||||||
|
.target = std.Target.Query.parse(.{
|
||||||
|
.arch_os_abi = "riscv32-linux-musl",
|
||||||
|
.cpu_features = "baseline-d-f",
|
||||||
|
}) catch unreachable,
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
.{
|
.{
|
||||||
.target = .{
|
.target = .{
|
||||||
.cpu_arch = .riscv32,
|
.cpu_arch = .riscv32,
|
||||||
|
|
@ -603,6 +617,20 @@ const test_targets = blk: {
|
||||||
.link_libc = true,
|
.link_libc = true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = std.Target.Query.parse(.{
|
||||||
|
.arch_os_abi = "riscv64-linux-none",
|
||||||
|
.cpu_features = "baseline-d-f",
|
||||||
|
}) catch unreachable,
|
||||||
|
},
|
||||||
|
.{
|
||||||
|
.target = std.Target.Query.parse(.{
|
||||||
|
.arch_os_abi = "riscv64-linux-musl",
|
||||||
|
.cpu_features = "baseline-d-f",
|
||||||
|
}) catch unreachable,
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
.{
|
.{
|
||||||
.target = .{
|
.target = .{
|
||||||
.cpu_arch = .riscv64,
|
.cpu_arch = .riscv64,
|
||||||
|
|
@ -631,7 +659,7 @@ const test_targets = blk: {
|
||||||
.target = std.Target.Query.parse(.{
|
.target = std.Target.Query.parse(.{
|
||||||
.arch_os_abi = "riscv64-linux-musl",
|
.arch_os_abi = "riscv64-linux-musl",
|
||||||
.cpu_features = "baseline+v+zbb",
|
.cpu_features = "baseline+v+zbb",
|
||||||
}) catch @panic("OOM"),
|
}) catch unreachable,
|
||||||
.use_llvm = false,
|
.use_llvm = false,
|
||||||
.use_lld = false,
|
.use_lld = false,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue