ziglang / zig

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
https://ziglang.org
MIT License
33.79k stars 2.47k forks source link

Remove "slow target" flag for `mips(el)-linux` targets in tests with LLVM 20 #21096

Open alexrp opened 1 month ago

alexrp commented 1 month ago

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.

https://github.com/ziglang/zig/blob/11176d22f82861b4b6967b77f753414f214bc632/test/tests.zig#L313-L365

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: https://github.com/llvm/llvm-project/issues/104562

This issue is to track removing the "slow target" flag from these if/when the LLVM bug gets fixed.

alexrp commented 1 month ago

Bad news: https://github.com/ziglang/zig/pull/21125

Good news: https://github.com/llvm/llvm-project/pull/104723

alexrp commented 2 days ago

The LLVM 19 backport for this was rejected, so this will have to wait until LLVM 20.