authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-30 19:47:02+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-09-19 18:20:21-07:00
log2a24c17be27e954fbc87de1e1e13a9dd61b0fbf0
tree47b338b9555979490733e648a2c91e4526fd8d65
parent9b60aa0adc126bf2a966ec42f069c770851774f3

test: Re-enable LLVM riscv64 module tests.

Closes #18872.

1 files changed, 27 insertions(+), 40 deletions(-)

test/tests.zig+27-40
...@@ -579,52 +579,39 @@ const test_targets = blk: {...@@ -579,52 +579,39 @@ const test_targets = blk: {
579 .link_libc = true,579 .link_libc = true,
580 },580 },
581581
582 // Disabled until LLVM fixes their O(N^2) codegen. Note that this is so bad that we don't582 .{
583 // even want to include this in CI with `slow_backend`.583 .target = .{
584 // https://github.com/ziglang/zig/issues/18872584 .cpu_arch = .riscv64,
585 //.{585 .os_tag = .linux,
586 // .target = .{586 .abi = .none,
587 // .cpu_arch = .riscv64,587 },
588 // .os_tag = .linux,588 },
589 // .abi = .none,589 .{
590 // },590 .target = .{
591 // .use_llvm = true,591 .cpu_arch = .riscv64,
592 //},592 .os_tag = .linux,
593593 .abi = .musl,
594 // Disabled until LLVM fixes their O(N^2) codegen. Note that this is so bad that we don't594 },
595 // even want to include this in CI with `slow_backend`.595 .link_libc = true,
596 // https://github.com/ziglang/zig/issues/18872596 },
597 //.{597 .{
598 // .target = .{598 .target = .{
599 // .cpu_arch = .riscv64,599 .cpu_arch = .riscv64,
600 // .os_tag = .linux,600 .os_tag = .linux,
601 // .abi = .musl,601 .abi = .gnu,
602 // },602 },
603 // .link_libc = true,603 .link_libc = true,
604 // .use_llvm = true,604 },
605 //},
606605
607 .{606 .{
608 .target = std.Target.Query.parse(607 .target = std.Target.Query.parse(.{
609 .{608 .arch_os_abi = "riscv64-linux-musl",
610 .arch_os_abi = "riscv64-linux-musl",609 .cpu_features = "baseline+v+zbb",
611 .cpu_features = "baseline+v+zbb",610 }) catch @panic("OOM"),
612 },
613 ) catch @panic("OOM"),
614 .use_llvm = false,611 .use_llvm = false,
615 .use_lld = false,612 .use_lld = false,
616 },613 },
617614
618 // https://github.com/ziglang/zig/issues/3340
619 //.{
620 // .target = .{
621 // .cpu_arch = .riscv64,
622 // .os = .linux,
623 // .abi = .gnu,
624 // },
625 // .link_libc = true,
626 //},
627
628 .{615 .{
629 .target = .{616 .target = .{
630 .cpu_arch = .x86_64,617 .cpu_arch = .x86_64,