Disable LTO and debug packages on risv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-05-13 10:56:57 +03:00
parent fb8fe50863
commit 7ab4d5d973
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3
1 changed files with 5 additions and 2 deletions

View File

@ -12,7 +12,7 @@
Name: mlir
Version: %{mlir_version}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
Summary: Multi-Level Intermediate Representation Overview
License: Apache-2.0 WITH LLVM-exception
@ -121,7 +121,7 @@ Requires: python3-numpy
%build
%ifarch %ix86
%ifarch %ix86 riscv64
%global debug_package %{nil}
%global _lto_cflags %{nil}
%endif
@ -285,6 +285,9 @@ export PYTHONPATH=%{buildroot}/%{python3_sitearch}
%{python3_sitearch}/mlir/
%changelog
* Mon May 13 2024 David Abdurachmanov <davidlt@rivosinc.com> - 18.1.3-1.0.riscv64
- Disable LTO and debug packages on riscv64
* Wed Apr 17 2024 Tom Stellard <tstellar@redhat.com> - 18.1.3-1
- 18.1.3 Release