Avoid LTO on riscv64 to avoid large memory usage
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
3129912180
commit
ed37bea9e7
@ -65,7 +65,7 @@ Summary: PostgreSQL client programs
|
|||||||
Name: postgresql
|
Name: postgresql
|
||||||
%global majorversion 14
|
%global majorversion 14
|
||||||
Version: %{majorversion}.3
|
Version: %{majorversion}.3
|
||||||
Release: 8%{?dist}
|
Release: 8.0.riscv64%{?dist}
|
||||||
|
|
||||||
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
||||||
# recognizes it as an independent license, so we do as well.
|
# recognizes it as an independent license, so we do as well.
|
||||||
@ -470,7 +470,7 @@ find . -type f -name .gitignore | xargs rm
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
# Avoid LTO on armv7hl as it runs out of memory
|
# Avoid LTO on armv7hl as it runs out of memory
|
||||||
%ifarch armv7hl s390x
|
%ifarch armv7hl s390x riscv64
|
||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
%endif
|
%endif
|
||||||
# fail quickly and obviously if user tries to build as root
|
# fail quickly and obviously if user tries to build as root
|
||||||
@ -1262,6 +1262,9 @@ make -C postgresql-setup-%{setup_version} check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 17 2022 David Abdurachmanov <davidlt@rivosinc.com> - 14.3-8.0.riscv64
|
||||||
|
- Disable LTO for riscv64 to avoid large memory usage
|
||||||
|
|
||||||
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 14.3-8
|
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 14.3-8
|
||||||
- Rebuilt for ICU 71.1
|
- Rebuilt for ICU 71.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user