diff --git a/pocl.changes b/pocl.changes index a51bd69..0553490 100644 --- a/pocl.changes +++ b/pocl.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 16 08:20:55 UTC 2024 - Max Lin + +- 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 diff --git a/pocl.spec b/pocl.spec index 38005d0..12af541 100644 --- a/pocl.spec +++ b/pocl.spec @@ -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