Skip to content

Commit c1bed62

Browse files
committed
test: Re-enable LLVM riscv64 module tests.
Closes ziglang#18872.
1 parent 3ba200b commit c1bed62

File tree

1 file changed

+27
-40
lines changed

1 file changed

+27
-40
lines changed

test/tests.zig

Lines changed: 27 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -462,52 +462,39 @@ const test_targets = blk: {
462462
.link_libc = true,
463463
},
464464

465-
// Disabled until LLVM fixes their O(N^2) codegen. Note that this is so bad that we don't
466-
// even want to include this in CI with `slow_backend`.
467-
// https://github.com/ziglang/zig/issues/18872
468-
//.{
469-
// .target = .{
470-
// .cpu_arch = .riscv64,
471-
// .os_tag = .linux,
472-
// .abi = .none,
473-
// },
474-
// .use_llvm = true,
475-
//},
476-
477-
// Disabled until LLVM fixes their O(N^2) codegen. Note that this is so bad that we don't
478-
// even want to include this in CI with `slow_backend`.
479-
// https://github.com/ziglang/zig/issues/18872
480-
//.{
481-
// .target = .{
482-
// .cpu_arch = .riscv64,
483-
// .os_tag = .linux,
484-
// .abi = .musl,
485-
// },
486-
// .link_libc = true,
487-
// .use_llvm = true,
488-
//},
465+
.{
466+
.target = .{
467+
.cpu_arch = .riscv64,
468+
.os_tag = .linux,
469+
.abi = .none,
470+
},
471+
},
472+
.{
473+
.target = .{
474+
.cpu_arch = .riscv64,
475+
.os_tag = .linux,
476+
.abi = .musl,
477+
},
478+
.link_libc = true,
479+
},
480+
.{
481+
.target = .{
482+
.cpu_arch = .riscv64,
483+
.os_tag = .linux,
484+
.abi = .gnu,
485+
},
486+
.link_libc = true,
487+
},
489488

490489
.{
491-
.target = std.Target.Query.parse(
492-
.{
493-
.arch_os_abi = "riscv64-linux-musl",
494-
.cpu_features = "baseline+v+zbb",
495-
},
496-
) catch @panic("OOM"),
490+
.target = std.Target.Query.parse(.{
491+
.arch_os_abi = "riscv64-linux-musl",
492+
.cpu_features = "baseline+v+zbb",
493+
}) catch @panic("OOM"),
497494
.use_llvm = false,
498495
.use_lld = false,
499496
},
500497

501-
// https://github.com/ziglang/zig/issues/3340
502-
//.{
503-
// .target = .{
504-
// .cpu_arch = .riscv64,
505-
// .os = .linux,
506-
// .abi = .gnu,
507-
// },
508-
// .link_libc = true,
509-
//},
510-
511498
.{
512499
.target = .{
513500
.cpu_arch = .x86_64,

0 commit comments

Comments
 (0)