-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
arch-mips32-bit and 64-bit MIPS32-bit and 64-bit MIPSbackend-llvmThe LLVM backend outputs an LLVM IR Module.The LLVM backend outputs an LLVM IR Module.bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorupstreamAn issue with a third party project that Zig uses.An issue with a third party project that Zig uses.
Milestone
Description
Right now, we're flagging these targets as slow by default, causing them to not get run in tests unless -Dtest-slow-targets
is passed.
Lines 313 to 365 in 11176d2
.{ | |
.target = .{ | |
.cpu_arch = .mips, | |
.os_tag = .linux, | |
.abi = .none, | |
}, | |
.slow_backend = true, | |
}, | |
.{ | |
.target = .{ | |
.cpu_arch = .mips, | |
.os_tag = .linux, | |
.abi = .musl, | |
}, | |
.link_libc = true, | |
.slow_backend = true, | |
}, | |
.{ | |
.target = .{ | |
.cpu_arch = .mips, | |
.os_tag = .linux, | |
.abi = .gnueabihf, | |
}, | |
.link_libc = true, | |
.slow_backend = true, | |
}, | |
.{ | |
.target = .{ | |
.cpu_arch = .mipsel, | |
.os_tag = .linux, | |
.abi = .none, | |
}, | |
.slow_backend = true, | |
}, | |
.{ | |
.target = .{ | |
.cpu_arch = .mipsel, | |
.os_tag = .linux, | |
.abi = .musl, | |
}, | |
.link_libc = true, | |
.slow_backend = true, | |
}, | |
.{ | |
.target = .{ | |
.cpu_arch = .mipsel, | |
.os_tag = .linux, | |
.abi = .gnueabihf, | |
}, | |
.link_libc = true, | |
.slow_backend = true, | |
}, |
We do this because it takes 30-60 minutes to compile the tests for these targets due to a severe LLVM performance issue. The upstream issue is filed here: llvm/llvm-project#104562
This issue is to track removing the "slow target" flag from these if/when the LLVM bug gets fixed.
Metadata
Metadata
Assignees
Labels
arch-mips32-bit and 64-bit MIPS32-bit and 64-bit MIPSbackend-llvmThe LLVM backend outputs an LLVM IR Module.The LLVM backend outputs an LLVM IR Module.bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorupstreamAn issue with a third party project that Zig uses.An issue with a third party project that Zig uses.