Use LLVM 18 on Fedora 41 too

Fedora 41 has LLVM 19 now, which doesn't work for Zig.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-10-17 15:46:36 +03:00
parent 7d8edf4b4e
commit 330d97b3a1
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3

View File

@ -4,7 +4,7 @@
%global public_key RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U
# note here at which Fedora or EL release we need to use compat LLVM packages
%if 0%{?fedora} >= 42 || 0%{?rhel} >= 9
%if 0%{?fedora} >= 41 || 0%{?rhel} >= 9
%define llvm_compat 18
%endif