6 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
7 changed files with 68 additions and 20 deletions

View File

@@ -1,11 +0,0 @@
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -219,7 +219,7 @@
TARGET ${file}
INPUTS ${CMAKE_CURRENT_SOURCE_DIR}/generic/lib/${file}.ll
)
- install( FILES $<TARGET_PROPERTY:${file},TARGET_FILE> ARCHIVE
+ install( FILES $<TARGET_PROPERTY:${file},TARGET_FILE>
DESTINATION "${CMAKE_INSTALL_DATADIR}/clc" )
endforeach()
endif()

BIN
libclc-19.1.0.src.tar.xz (Stored with Git LFS)

Binary file not shown.

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,63 @@
-------------------------------------------------------------------
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>

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 19.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}
@@ -31,19 +31,18 @@ Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_tagver}/%{name}-%{_version}.src.tar.xz.sig
Source100: %{name}-rpmlintrc
Source101: https://releases.llvm.org/release-keys.asc#/%{name}.keyring
Patch0: fix-cmake-install.patch
BuildRequires: cmake
%if 0%{?suse_version} >= 1550
BuildRequires: clang-devel
BuildRequires: llvm-devel
BuildRequires: pkgconfig(LLVMSPIRVLib)
%else
%if 0%{?sle_version} >= 150600
BuildRequires: clang19-devel
BuildRequires: llvm19-devel
BuildRequires: clang20-devel
BuildRequires: llvm20-devel
%endif
%endif
BuildRequires: python3-base
BuildRequires: pkgconfig(LLVMSPIRVLib)
Provides: libclc(llvm%{_llvm_sonum})
BuildArch: noarch