SHA256
1
0
forked from pool/pocl

Accepting request 1147034 from home:mlin7442:rebuild_fails_156

fix build in Leap 15.6

OBS-URL: https://build.opensuse.org/request/show/1147034
OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=75
This commit is contained in:
Martin Hauke 2024-02-17 14:42:11 +00:00 committed by Git OBS Bridge
parent 78ef10c839
commit 95bc6aceb7
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 16 08:20:55 UTC 2024 - Max Lin <mlin@suse.com>
- BuildRequires clang15-devel on Leap 15.6
* the default clang-devel is clang17 and Leap15 doesn't
have clang16
-------------------------------------------------------------------
Wed Nov 8 16:12:20 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -40,7 +40,11 @@ BuildRequires: ninja
BuildRequires: ocl-icd-devel
BuildRequires: opencl-headers
BuildRequires: pkgconfig
%if 0%{?suse_version} <= 1500 && 0%{?sle_version} > 150500
BuildRequires: ((clang-devel >= 6.0.0 with clang-devel < 17) or clang15-devel)
%else
BuildRequires: ((clang-devel >= 6.0.0 with clang-devel < 17) or clang16-devel)
%endif
BuildRequires: pkgconfig(hwloc)
# PPC has limited support/testing from upstream
# s390(x) is also not supported, so use ExclusiveArch