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_version %{maj_ver}.%{min_ver}.%{patch_ver}
|
||||||
%global mlir_srcdir llvm-project-%{mlir_version}%{?rc_ver:rc%{rc_ver}}.src
|
%global mlir_srcdir llvm-project-%{mlir_version}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
|
||||||
|
%ifarch riscv64
|
||||||
|
%global _lto_cflags %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: mlir
|
Name: mlir
|
||||||
Version: %{mlir_version}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{mlir_version}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: 3%{?dist}
|
Release: 3.0.riscv64%{?dist}
|
||||||
Summary: Multi-Level Intermediate Representation Overview
|
Summary: Multi-Level Intermediate Representation Overview
|
||||||
|
|
||||||
License: Apache-2.0 WITH LLVM-exception
|
License: Apache-2.0 WITH LLVM-exception
|
||||||
|
@ -119,6 +123,9 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}
|
||||||
%{_libdir}/cmake/mlir
|
%{_libdir}/cmake/mlir
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Sep 14 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-3
|
||||||
- Run tests during the build
|
- Run tests during the build
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue