Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
3e8d3a8e65 | ||
|
|
03231b1ba6 |
@@ -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
LFS
BIN
libclc-19.1.0.src.tar.xz
LFS
Binary file not shown.
Binary file not shown.
BIN
libclc-21.1.0.src.tar.xz
LFS
Normal file
BIN
libclc-21.1.0.src.tar.xz
LFS
Normal file
Binary file not shown.
BIN
libclc-21.1.0.src.tar.xz.sig
Normal file
BIN
libclc-21.1.0.src.tar.xz.sig
Normal file
Binary file not shown.
191
libclc.changes
191
libclc.changes
@@ -1,3 +1,194 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 22 14:05:24 UTC 2026 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- BuildRequire clang21-devel/llvm21-devel, no matter which
|
||||
suse_version/sle_version is being used
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 22 16:08:05 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- let Leap 15.6 llvm/clang 21
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 10 21:07:30 UTC 2025 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
- Update to version 21.1.0.
|
||||
* Move (add|sub)_sat to CLC; optimize
|
||||
* Move several integer functions to CLC library
|
||||
* Remove use of symlinks
|
||||
* Move mad_sat to CLC; optimize for vector types
|
||||
* Move rotate to CLC library; optimize
|
||||
* Allow default path when looking for llvm-spirv
|
||||
* Have all targets build all CLC functions
|
||||
* Move sign to the CLC builtins library
|
||||
* Move conversion builtins to the CLC library
|
||||
* [cmake] Fix per-target *_convert.cl dependencies
|
||||
* Fix dependencies on generated convert builtins
|
||||
* Disable external-calls testing for clspv targets
|
||||
* Suppress data-layout warnings during linking
|
||||
* Use CLC conversion builtins in CLC functions
|
||||
* Replace gfx940 and gfx941 with gfx942
|
||||
* Improve nextafter behaviour around zero
|
||||
* Clean up directory search procedure
|
||||
* Explicitly qualify private address spaces
|
||||
* Move modf to the CLC library
|
||||
* Move frexp to CLC library; optimize half vecs
|
||||
* Define macros for users of gentype.inc
|
||||
* Fix int<->float conversion builtins
|
||||
* Move fma to the CLC library
|
||||
* Remove clspv-specific clc conversions
|
||||
* Move nan to the CLC library
|
||||
* Stop using asm declarations for r600 on amdgcn for
|
||||
get_global_size
|
||||
* Move log/log2/log10 to CLC library
|
||||
* Move round to CLC library
|
||||
* Move __clc_ldexp to CLC library
|
||||
* Make CLC library warning-free
|
||||
* Move sqrt to CLC library
|
||||
* Move rsqrt to the CLC library
|
||||
* Move hypot to CLC library; optimize
|
||||
* Reduce bithacking in CLC frexp
|
||||
* Stop installing CLC headers
|
||||
* Add missing gfx950 target
|
||||
* Update license headers
|
||||
* add --only-needed to llvm-link when INTERNALIZE flag is set
|
||||
* link_bc target should depends on target
|
||||
builtins.link.clc-arch_suffix
|
||||
* Add license headers to files missing them
|
||||
* Relicense gen_convert.py
|
||||
* erfc: fix fp32 implementation in FTZ mode
|
||||
* Move fp32 sincos helpers to CLC library
|
||||
* Add missing license headers to source IR files
|
||||
* Move asin/acos/atan to the CLC library
|
||||
* Move asinpi/acospi/atanpi to the CLC library
|
||||
* Move log1p/asinh/acosh/atanh to the CLC library
|
||||
* Move atan2/atan2pi to the CLC library
|
||||
* Move fmod, remainder & remquo to the CLC library
|
||||
* Pass -fapprox-func when compiling 'native' builtins
|
||||
* Move pow, powr & pown to the CLC library
|
||||
* Implement native_exp2 via AMD builtin
|
||||
* Fix unresolved reference to missing table
|
||||
* Move rootn to the CLC library; optimize
|
||||
* Move several 'native' builtins to CLC library
|
||||
* Move sinpi/cospi/tanpi to the CLC library
|
||||
* Move exp10 to the CLC library
|
||||
* Move exp, exp2 and expm1 to the CLC library
|
||||
* Move cbrt to the CLC library; vectorize
|
||||
* Move lgamma, lgamma_r & tgamma to CLC library
|
||||
* Move sinh, cosh & tanh to the CLC library
|
||||
* Move native_(exp10|powr|tan) to CLC library
|
||||
* clspv: add a dummy implememtation for mul_hi
|
||||
* frexp: fix implementation regarding denormals
|
||||
* Move shuffle/shuffle2 to the CLC library
|
||||
* clspv: fma: remove fp16 implementation
|
||||
* Fix commands in compile_to_bc are executed sequentially
|
||||
* Add ctz built-in implementation to clc and generic
|
||||
* Build for OpenCL 3.0
|
||||
* Fix unguarded use of image types
|
||||
* Re-enable compiler warning
|
||||
* only check filename part of the source for avoiding duplication
|
||||
* Remove unnecessary clcmacros.h
|
||||
* Remove (vload|vstore)_half helpers
|
||||
* Move fmin & fmax to CLC library
|
||||
* Move fract to the CLC library
|
||||
* Move fdim to CLC library; simplify
|
||||
* Avoid casting NANs & literals to 'gentype'
|
||||
* Add v3 variants of async_work_group_copy/
|
||||
async_work_group_strided_copy/prefetch
|
||||
* Clean up unnecessary #undef __CLC_BODYs
|
||||
* Move minmag & maxmag to the CLC library
|
||||
* Move log2/log10 tables to CLC tables impl
|
||||
* Move sin, cos & sincos to CLC library
|
||||
* Move tan to the CLC library
|
||||
* Move 'half' builtins to CLC library
|
||||
* Move (fast) length & distance to CLC library
|
||||
* Move logb/ilogb to CLC library; optimize
|
||||
* Move cross to CLC library; add missing half overloads
|
||||
* Improving vector code generated from scalar code
|
||||
* Append file_specific_compile_options after ARG_COMPILE_FLAGS
|
||||
* Mov erf & erfc to CLC library
|
||||
* Reorganize OpenCL builtins
|
||||
* Fix header inclusion issues
|
||||
* Re-use shuffle_decl.inc in OpenCL shuffle2 declaration
|
||||
* Move all remquo address spaces to CLC library
|
||||
* Support the generic address space
|
||||
* Move step to the CLC library; add missing half variants
|
||||
* Move vload & vstore to CLC library
|
||||
* Move prefetch to clc library
|
||||
* clspv: do not set generic_addrspace_val
|
||||
* Add (fast) normalize to CLC; add half overloads
|
||||
* Support LLVM_ENABLE_RUNTIMES when building
|
||||
* Avoid out-of-range float-to-int.
|
||||
* Add __clc_nan implementation with signed nancode argument
|
||||
* Add missing clc_lgamma_r with generic address space pointer arg
|
||||
* Reduce include usage in OpenCL builtins
|
||||
* Fix typo in OpenCL header math/sincos.h
|
||||
* Tighten OpenCL builtin include strategy
|
||||
* Remove catch-all opencl/clc.h
|
||||
* Declare workitem built-ins in clc, move ptx-nvidiacl workitem
|
||||
built-ins into clc
|
||||
- Headers are no longer included.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
19
libclc.spec
19
libclc.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libclc
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# 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 21.1.0
|
||||
%define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
|
||||
%define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
|
||||
|
||||
@@ -31,19 +31,11 @@ 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: clang21-devel
|
||||
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
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: llvm21-devel
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: pkgconfig(LLVMSPIRVLib)
|
||||
Provides: libclc(llvm%{_llvm_sonum})
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -72,7 +64,6 @@ Library requirements of the OpenCL C programming language.
|
||||
|
||||
%files
|
||||
%license LICENSE.TXT
|
||||
%{_includedir}/clc
|
||||
%{_datadir}/clc
|
||||
%{_datadir}/pkgconfig/libclc.pc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user