SHA256
1
0
forked from pool/libclc

15 Commits

Author SHA256 Message Date
d8f7f00926 Accepting request 1267897 from X11:XOrg
- Update to version 20.1.0 (boo#1240848);changes since 19.1.0:
  * Disable external-calls testing for clspv targets (#127529)
  * Allow default path when looking for llvm-spirv (#126071)
  * Clang-format includes
  * Optimize isfpclass-like CLC builtins (#124145)
  * clspv: add missing clc_isnan.cl dependency (#124614)
  * Move key math headers to CLC (#124739)
  * Move copysign to CLC library; fix & optimize (#124598)
  * Optimize CLC vector any/all builtins (#124568)
  * Optimize CLC vector is(un)ordered builtins (#124546)
  * Optimize CLC vector relational builtins (#124537)
  * Move nextafter to the CLC library (#124097)
  * Don't rely on fp16 pragma guards in headers (#122751)
  * Route int bitselect through CLC; add half (#123653)
  * Route select through __clc_select (#123647)
  * Move mad to the CLC library (#123607)
  * Rename include guards. NFC.
  * Move degrees/radians to CLC library & optimize (#123222)
  * Move smoothstep to CLC and optimize its codegen (#123183)
  * Add missing includes to CLC headers (#118654)
  * Add Maintainers.md for libclc (#118309)
  * Optimize ceil/fabs/floor/rint/trunc (#119596)
  * "[libclc] Create aliases with custom_command (#115885)" (#116025)
  * "[libclc] Create aliases with custom_command (#115885)" for causing: https://github.com/llvm/llvm-project/issues/115942
  * Add some include guards to CLC declarations. NFC
  * Create aliases with custom_command (#115885)
  * Avoid using undefined vector3 components (#115857)
  * Use builtin_convertvector to convert between vector types (#115865)
  * Correct use of CLC macro on two definitions
  * Move relational functions to the CLC library (#115171)
  * Use __clc_max in CLC functions
  * Move abs/abs_diff to CLC library
  * Move clcmacro.h to CLC library. NFC (#114845)
  * Move ceil/fabs/floor/rint/trunc to CLC library (#114774)
  * Format clc_fma.cl. NFC
  * Format clc_tan.cl. NFC
  * Add some include guards and format a file
  * Move min/max/clamp into the CLC builtins library (#114386)
  * Restore header order, which formatting broke
  * Format clc_ldexp.cl and clc_hypot.cl. NFC
  * Create an internal 'clc' builtins library
  * Split off library build system into helpers
  * Add a new target for gfx1153 (#113138)
  * Give a helpful error when an unknown target is requested (#111528)
  * Convert README to Markdown (#111549)
  * Update build instructions in readme (#111369)
  * Remove mention of BSD license in readme (#111371)
  * Fix installation w/ ENABLE_RUNTIME_SUBNORMAL (#109926)
  * More cross compilation fixes (#97811)
- require llvm20/clang20 on sle15 >= sp6
- supersedes fix-cmake-install.patch

OBS-URL: https://build.opensuse.org/request/show/1267897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libclc?expand=0&rev=33
2025-04-09 19:49:32 +00:00
cf9304182b improved changelog
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=80
2025-04-08 12:15:54 +00:00
bdbb176558 added bugnumber for update to changelog
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=79
2025-04-07 01:29:18 +00:00
5ee3f2629f - Update to version 20.1.0.
- require llvm20/clang20 on sle15 >= sp6
- supersedes fix-cmake-install.patch

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=78
2025-04-05 09:14:08 +00:00
683f62df0f Accepting request 1251189 from X11:XOrg
- buildrequire LLVMSPIRVLib also on SLE15

OBS-URL: https://build.opensuse.org/request/show/1251189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libclc?expand=0&rev=32
2025-03-08 16:51:26 +00:00
484f142230 - buildrequire LLVMSPIRVLib also on SLE15
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=76
2025-03-07 12:15:09 +00:00
a51aad48ab Accepting request 1232707 from X11:XOrg
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1232707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libclc?expand=0&rev=31
2024-12-22 16:58:46 +00:00
83b4220d2b - require llvm19/clang19 on sle15 >= sp6
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=74
2024-12-12 23:00:07 +00:00
af4c91bb6d - require llvm19/clang19 on sle15 >= sp5
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=73
2024-12-12 20:07:42 +00:00
330e3ddf27 Accepting request 1229390 from X11:XOrg
- use clang19-devel, llvm19-devel for sle15-sp7

OBS-URL: https://build.opensuse.org/request/show/1229390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libclc?expand=0&rev=30
2024-12-10 22:43:05 +00:00
b45b80e24c - use clang19-devel, llvm19-devel for sle15-sp7
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=71
2024-12-09 12:51:56 +00:00
05ac63cb8b Accepting request 1203904 from X11:XOrg
OBS-URL: https://build.opensuse.org/request/show/1203904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libclc?expand=0&rev=29
2024-11-08 10:53:50 +00:00
45405850fe - Update to version 19.1.0.
* Improved 16-bit floating-point support.
- Add fix-cmake-install.patch to fix syntax error in CMake code.

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=69
2024-09-26 13:53:32 +00:00
OBS User buildservice-autocommit
ecb15dd67e baserev update by copy to link target
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=68
2024-03-25 20:07:11 +00:00
OBS User buildservice-autocommit
a280f0adad Accepting request 1158843 from X11:XOrg
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/1158843
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=67
2024-03-20 20:10:13 +00:00
6 changed files with 86 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a2faf505c8c1703c21a2999a10b0f0b4d24180f407b1cafe8d08d04cedc30e5b
size 126568

Binary file not shown.

3
libclc-20.1.0.src.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02ee864c9974268509d3777e8f15bb3ebb2cc4ffe456d9aa79a352c5788c15a8
size 136328

Binary file not shown.

View File

@@ -1,3 +1,80 @@
-------------------------------------------------------------------
Sat Apr 5 08:56:27 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 20.1.0 (boo#1240848);changes since 19.1.0:
* Disable external-calls testing for clspv targets (#127529)
* Allow default path when looking for llvm-spirv (#126071)
* Clang-format includes
* Optimize isfpclass-like CLC builtins (#124145)
* clspv: add missing clc_isnan.cl dependency (#124614)
* Move key math headers to CLC (#124739)
* Move copysign to CLC library; fix & optimize (#124598)
* Optimize CLC vector any/all builtins (#124568)
* Optimize CLC vector is(un)ordered builtins (#124546)
* Optimize CLC vector relational builtins (#124537)
* Move nextafter to the CLC library (#124097)
* Don't rely on fp16 pragma guards in headers (#122751)
* Route int bitselect through CLC; add half (#123653)
* Route select through __clc_select (#123647)
* Move mad to the CLC library (#123607)
* Rename include guards. NFC.
* Move degrees/radians to CLC library & optimize (#123222)
* Move smoothstep to CLC and optimize its codegen (#123183)
* Add missing includes to CLC headers (#118654)
* Add Maintainers.md for libclc (#118309)
* Optimize ceil/fabs/floor/rint/trunc (#119596)
* "[libclc] Create aliases with custom_command (#115885)" (#116025)
* "[libclc] Create aliases with custom_command (#115885)" for causing: https://github.com/llvm/llvm-project/issues/115942
* Add some include guards to CLC declarations. NFC
* Create aliases with custom_command (#115885)
* Avoid using undefined vector3 components (#115857)
* Use builtin_convertvector to convert between vector types (#115865)
* Correct use of CLC macro on two definitions
* Move relational functions to the CLC library (#115171)
* Use __clc_max in CLC functions
* Move abs/abs_diff to CLC library
* Move clcmacro.h to CLC library. NFC (#114845)
* Move ceil/fabs/floor/rint/trunc to CLC library (#114774)
* Format clc_fma.cl. NFC
* Format clc_tan.cl. NFC
* Add some include guards and format a file
* Move min/max/clamp into the CLC builtins library (#114386)
* Restore header order, which formatting broke
* Format clc_ldexp.cl and clc_hypot.cl. NFC
* Create an internal 'clc' builtins library
* Split off library build system into helpers
* Add a new target for gfx1153 (#113138)
* Give a helpful error when an unknown target is requested (#111528)
* Convert README to Markdown (#111549)
* Update build instructions in readme (#111369)
* Remove mention of BSD license in readme (#111371)
* Fix installation w/ ENABLE_RUNTIME_SUBNORMAL (#109926)
* More cross compilation fixes (#97811)
- require llvm20/clang20 on sle15 >= sp6
- supersedes fix-cmake-install.patch
-------------------------------------------------------------------
Fri Mar 7 12:14:05 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- buildrequire LLVMSPIRVLib also on SLE15
-------------------------------------------------------------------
Thu Dec 12 20:06:08 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- require llvm19/clang19 on sle15 >= sp6
-------------------------------------------------------------------
Mon Dec 9 12:49:53 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- use clang19-devel, llvm19-devel for sle15-sp7
-------------------------------------------------------------------
Sat Sep 21 20:13:04 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 19.1.0.
* Improved 16-bit floating-point support.
- Add fix-cmake-install.patch to fix syntax error in CMake code.
-------------------------------------------------------------------
Mon Mar 18 02:33:21 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libclc
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
#
%define _libclc_llvm_ver 18.1.0
%define _libclc_llvm_ver 20.1.0
%define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
%define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
@@ -35,19 +35,14 @@ BuildRequires: cmake
%if 0%{?suse_version} >= 1550
BuildRequires: clang-devel
BuildRequires: llvm-devel
BuildRequires: pkgconfig(LLVMSPIRVLib)
%else
%if 0%{?sle_version} >= 150600
BuildRequires: clang18-devel
BuildRequires: llvm18-devel
%else
%if 0%{?sle_version} >= 150500
BuildRequires: clang18-devel
BuildRequires: llvm18-devel
%endif
BuildRequires: clang20-devel
BuildRequires: llvm20-devel
%endif
%endif
BuildRequires: python3-base
BuildRequires: pkgconfig(LLVMSPIRVLib)
Provides: libclc(llvm%{_llvm_sonum})
BuildArch: noarch
@@ -56,6 +51,7 @@ Library requirements of the OpenCL C programming language.
%prep
%setup -q -n libclc-%{_version}.src
%autopatch
%build
# The libraries are bitcode files, so LTO is neither supported nor does it help.