- Create mechanism to specify the latest supported LLVM version.
Automatically pin to that version if the distribution has a newer unsupported default version. OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql15?expand=0&rev=7
This commit is contained in:
parent
01f4d6369d
commit
0196712b59
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 22 21:26:36 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Create mechanism to specify the latest supported LLVM version.
|
||||||
|
Automatically pin to that version if the distribution has a newer
|
||||||
|
unsupported default version.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 12 09:25:30 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
Mon Sep 12 09:25:30 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
%define pgmajor 15
|
%define pgmajor 15
|
||||||
%define pgsuffix %pgmajor
|
%define pgsuffix %pgmajor
|
||||||
%define tarversion 15beta4
|
%define tarversion 15beta4
|
||||||
|
%define latest_supported_llvm_ver 14
|
||||||
|
|
||||||
### CUT HERE ###
|
### CUT HERE ###
|
||||||
%define pgname postgresql%pgsuffix
|
%define pgname postgresql%pgsuffix
|
||||||
@ -136,10 +137,15 @@ BuildRequires: libicu-devel
|
|||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
%endif
|
%endif
|
||||||
%if %{with llvm}
|
%if %{with llvm}
|
||||||
BuildRequires: clang
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
%if 0%{?product_libs_llvm_ver} > %{latest_supported_llvm_ver}
|
||||||
|
BuildRequires: clang%{latest_supported_llvm_ver}
|
||||||
|
BuildRequires: llvm%{latest_supported_llvm_ver}-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: clang
|
||||||
BuildRequires: llvm-devel
|
BuildRequires: llvm-devel
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
BuildRequires: openldap2-devel
|
BuildRequires: openldap2-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user