Enable riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
7f2f0d9c64
commit
bcde5ecff3
@ -32,7 +32,12 @@
|
|||||||
%{!?beta:%global beta 0}
|
%{!?beta:%global beta 0}
|
||||||
|
|
||||||
%{!?test:%global test 1}
|
%{!?test:%global test 1}
|
||||||
|
%ifnarch riscv64
|
||||||
%{!?llvmjit:%global llvmjit 1}
|
%{!?llvmjit:%global llvmjit 1}
|
||||||
|
%else
|
||||||
|
# Disable LLVM on riscv64 until LLVM 16 lands
|
||||||
|
%{!?llvmjit:%global llvmjit 0}
|
||||||
|
%endif
|
||||||
%{!?external_libpq:%global external_libpq 0}
|
%{!?external_libpq:%global external_libpq 0}
|
||||||
%{!?upgrade:%global upgrade 1}
|
%{!?upgrade:%global upgrade 1}
|
||||||
%{!?plpython3:%global plpython3 1}
|
%{!?plpython3:%global plpython3 1}
|
||||||
@ -65,7 +70,7 @@ Summary: PostgreSQL client programs
|
|||||||
Name: postgresql
|
Name: postgresql
|
||||||
%global majorversion 15
|
%global majorversion 15
|
||||||
Version: %{majorversion}.1
|
Version: %{majorversion}.1
|
||||||
Release: 2%{?dist}
|
Release: 2.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.
|
||||||
@ -467,7 +472,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
|
||||||
@ -1263,6 +1268,10 @@ make -C postgresql-setup-%{setup_version} check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2023 David Abdurachmanov <davidlt@rivosinc.com> - 15.1-2.0.riscv64
|
||||||
|
- Disable LTO on riscv64 to avoid large memory usage
|
||||||
|
- Disable LLVM JIT on riscv64 until LLVM 16 is available
|
||||||
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.1-2
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user