Skip to content

Commit 2a24c17

Browse files
alexrpandrewrk
authored andcommitted
test: Re-enable LLVM riscv64 module tests.
Closes #18872.
1 parent 9b60aa0 commit 2a24c17

File tree

1 file changed

+27
-40
lines changed

1 file changed

+27
-40
lines changed

test/tests.zig

+27-40
Original file line numberDiff line numberDiff line change
@@ -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,

0 commit comments

Comments
 (0)