diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-08-30 19:47:02 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-09-19 18:20:21 -0700 |
| commit | 2a24c17be27e954fbc87de1e1e13a9dd61b0fbf0 (patch) | |
| tree | 47b338b9555979490733e648a2c91e4526fd8d65 | |
| parent | 9b60aa0adc126bf2a966ec42f069c770851774f3 (diff) | |
| download | zig-2a24c17be27e954fbc87de1e1e13a9dd61b0fbf0.tar.gz zig-2a24c17be27e954fbc87de1e1e13a9dd61b0fbf0.zip | |
test: Re-enable LLVM riscv64 module tests.
Closes #18872.
| -rw-r--r-- | test/tests.zig | 67 |
1 files changed, 27 insertions, 40 deletions
diff --git a/test/tests.zig b/test/tests.zig index f07f67c2e1..aac31be230 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -579,52 +579,39 @@ const test_targets = blk: { .link_libc = true, }, - // Disabled until LLVM fixes their O(N^2) codegen. Note that this is so bad that we don't - // even want to include this in CI with `slow_backend`. - // https://github.com/ziglang/zig/issues/18872 - //.{ - // .target = .{ - // .cpu_arch = .riscv64, - // .os_tag = .linux, - // .abi = .none, - // }, - // .use_llvm = true, - //}, - - // Disabled until LLVM fixes their O(N^2) codegen. Note that this is so bad that we don't - // even want to include this in CI with `slow_backend`. - // https://github.com/ziglang/zig/issues/18872 - //.{ - // .target = .{ - // .cpu_arch = .riscv64, - // .os_tag = .linux, - // .abi = .musl, - // }, - // .link_libc = true, - // .use_llvm = true, - //}, + .{ + .target = .{ + .cpu_arch = .riscv64, + .os_tag = .linux, + .abi = .none, + }, + }, + .{ + .target = .{ + .cpu_arch = .riscv64, + .os_tag = .linux, + .abi = .musl, + }, + .link_libc = true, + }, + .{ + .target = .{ + .cpu_arch = .riscv64, + .os_tag = .linux, + .abi = .gnu, + }, + .link_libc = true, + }, .{ - .target = std.Target.Query.parse( - .{ - .arch_os_abi = "riscv64-linux-musl", - .cpu_features = "baseline+v+zbb", - }, - ) catch @panic("OOM"), + .target = std.Target.Query.parse(.{ + .arch_os_abi = "riscv64-linux-musl", + .cpu_features = "baseline+v+zbb", + }) catch @panic("OOM"), .use_llvm = false, .use_lld = false, }, - // https://github.com/ziglang/zig/issues/3340 - //.{ - // .target = .{ - // .cpu_arch = .riscv64, - // .os = .linux, - // .abi = .gnu, - // }, - // .link_libc = true, - //}, - .{ .target = .{ .cpu_arch = .x86_64, |
