Add macro for llvmjit settings

This commit is contained in:
Honza Horak 2021-04-20 21:18:15 +02:00
parent 34a02d67d8
commit 0b7d13d457

View File

@ -62,7 +62,7 @@ Summary: PostgreSQL client programs
Name: postgresql Name: postgresql
%global majorversion 13 %global majorversion 13
Version: %{majorversion}.2 Version: %{majorversion}.2
Release: 4%{?dist} Release: 5%{?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.
@ -699,6 +699,10 @@ rm $RPM_BUILD_ROOT/%{_datadir}/man/man1/ecpg.1
EOF EOF
%endif %endif
# Let plugins use the same llvmjit settings as server has
cat <<EOF >> $RPM_BUILD_ROOT%macrosdir/macros.%name
%%postgresql_server_llvmjit %llvmjit
EOF
%if %test %if %test
# tests. There are many files included here that are unnecessary, # tests. There are many files included here that are unnecessary,
@ -1121,6 +1125,9 @@ make -C postgresql-setup-%{setup_version} check
%changelog %changelog
* Tue Apr 20 2021 Honza Horak <hhorak@redhat.com> - 13.2-5
- Add macro for llvmjit settings
* Wed Feb 17 2021 Honza Horak <hhorak@redhat.com> - 13.2-4 * Wed Feb 17 2021 Honza Horak <hhorak@redhat.com> - 13.2-4
- Remove plpython2 entirely, same as upstream did - Remove plpython2 entirely, same as upstream did
Resolves: #1913681 Resolves: #1913681