SHA256
1
0
forked from pool/postgresql12

Accepting request 894525 from server:database:postgresql

- bsc#1185952: llvm12 breaks PostgreSQL 11 and 12 on s390x.
  Use llvm11 as a workaround.

OBS-URL: https://build.opensuse.org/request/show/894525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2021-05-21 19:49:31 +00:00 committed by Git OBS Bridge
commit 9d15e08e37
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 19 15:24:24 UTC 2021 - Reinhard Max <max@suse.com>
- bsc#1185952: llvm12 breaks PostgreSQL 11 and 12 on s390x.
Use llvm11 as a workaround.
-------------------------------------------------------------------
Tue May 11 16:19:19 UTC 2021 - Reinhard Max <max@suse.com>

View File

@ -91,7 +91,6 @@ BuildRequires: %libpq
%if 0%{?suse_version} >= 1500 && %pgsuffix >= 11 && %pgsuffix < 90
%bcond_without llvm
%else
# LLVM is currently unsupported on SLE, so don't use it
%bcond_with llvm
%endif
%endif
@ -116,10 +115,15 @@ BuildRequires: libicu-devel
BuildRequires: libselinux-devel
%endif
%if %{with llvm}
BuildRequires: clang
BuildRequires: gcc-c++
%ifarch s390x
BuildRequires: clang11
BuildRequires: llvm11-devel
%else
BuildRequires: clang
BuildRequires: llvm-devel
%endif
%endif
BuildRequires: libxslt-devel
BuildRequires: openldap2-devel
BuildRequires: openssl-devel