Disable LTO on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
ec635bd256
commit
4469d76e34
|
@ -5,9 +5,13 @@
|
|||
%global mlir_version %{maj_ver}.%{min_ver}.%{patch_ver}
|
||||
%global mlir_srcdir llvm-project-%{mlir_version}%{?rc_ver:rc%{rc_ver}}.src
|
||||
|
||||
%ifarch riscv64
|
||||
%global _lto_cflags %{nil}
|
||||
%endif
|
||||
|
||||
Name: mlir
|
||||
Version: %{mlir_version}%{?rc_ver:~rc%{rc_ver}}
|
||||
Release: 3%{?dist}
|
||||
Release: 3.0.riscv64%{?dist}
|
||||
Summary: Multi-Level Intermediate Representation Overview
|
||||
|
||||
License: Apache-2.0 WITH LLVM-exception
|
||||
|
@ -119,6 +123,9 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}
|
|||
%{_libdir}/cmake/mlir
|
||||
|
||||
%changelog
|
||||
* Sat Oct 08 2022 David Abdurachmanov <davidlt@rivosinc.com> - 15.0.0-3.0.riscv64
|
||||
- Disable LTO on riscv64
|
||||
|
||||
* Wed Sep 14 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-3
|
||||
- Run tests during the build
|
||||
|
||||
|
|
Loading…
Reference in New Issue