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: {
579579 .link_libc = true,
580580 },
581581
582 // Disabled until LLVM fixes their O(N^2) codegen. Note that this is so bad that we don't
583 // even want to include this in CI with `slow_backend`.
584 // https://github.com/ziglang/zig/issues/18872
585 //.{
586 // .target = .{
587 // .cpu_arch = .riscv64,
588 // .os_tag = .linux,
589 // .abi = .none,
590 // },
591 // .use_llvm = true,
592 //},
593
594 // Disabled until LLVM fixes their O(N^2) codegen. Note that this is so bad that we don't
595 // even want to include this in CI with `slow_backend`.
596 // https://github.com/ziglang/zig/issues/18872
597 //.{
598 // .target = .{
599 // .cpu_arch = .riscv64,
600 // .os_tag = .linux,
601 // .abi = .musl,
602 // },
603 // .link_libc = true,
604 // .use_llvm = true,
605 //},
582 .{
583 .target = .{
584 .cpu_arch = .riscv64,
585 .os_tag = .linux,
586 .abi = .none,
587 },
588 },
589 .{
590 .target = .{
591 .cpu_arch = .riscv64,
592 .os_tag = .linux,
593 .abi = .musl,
594 },
595 .link_libc = true,
596 },
597 .{
598 .target = .{
599 .cpu_arch = .riscv64,
600 .os_tag = .linux,
601 .abi = .gnu,
602 },
603 .link_libc = true,
604 },
606605
607606 .{
608 .target = std.Target.Query.parse(
609 .{
610 .arch_os_abi = "riscv64-linux-musl",
611 .cpu_features = "baseline+v+zbb",
612 },
613 ) catch @panic("OOM"),
607 .target = std.Target.Query.parse(.{
608 .arch_os_abi = "riscv64-linux-musl",
609 .cpu_features = "baseline+v+zbb",
610 }) catch @panic("OOM"),
614611 .use_llvm = false,
615612 .use_lld = false,
616613 },
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
628615 .{
629616 .target = .{
630617 .cpu_arch = .x86_64,