Sync from SUSE:SLFO:Main libclc revision 5d66fae4253c36c79f8c681123abf214
This commit is contained in:
parent
6a9afcc077
commit
68da73fbe8
11
fix-cmake-install.patch
Normal file
11
fix-cmake-install.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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-17.0.1.src.tar.xz
(Stored with Git LFS)
BIN
libclc-17.0.1.src.tar.xz
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
BIN
libclc-19.1.0.src.tar.xz
(Stored with Git LFS)
Normal file
BIN
libclc-19.1.0.src.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
libclc-19.1.0.src.tar.xz.sig
Normal file
BIN
libclc-19.1.0.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +1,35 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- use clang18-devel, llvm18-devel also for Leap 15.6/15.5 in order to
|
||||
fix build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 9 22:30:18 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
- Update to version 18.1.0.
|
||||
* Fix signed integer underflow in abs_diff.
|
||||
* Teach prepare-builtins how to handle text-based IR.
|
||||
* Add half implementation for erf/erfc.
|
||||
* Add missing AMD gfx symlinks.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 20 12:57:41 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
|
15
libclc.spec
15
libclc.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libclc
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 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 17.0.1
|
||||
%define _libclc_llvm_ver 19.1.0
|
||||
%define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
|
||||
%define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
|
||||
|
||||
@ -31,6 +31,7 @@ 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
|
||||
@ -38,13 +39,8 @@ BuildRequires: llvm-devel
|
||||
BuildRequires: pkgconfig(LLVMSPIRVLib)
|
||||
%else
|
||||
%if 0%{?sle_version} >= 150600
|
||||
BuildRequires: clang17-devel
|
||||
BuildRequires: llvm17-devel
|
||||
%else
|
||||
%if 0%{?sle_version} >= 150500
|
||||
BuildRequires: clang15-devel
|
||||
BuildRequires: llvm15-devel
|
||||
%endif
|
||||
BuildRequires: clang19-devel
|
||||
BuildRequires: llvm19-devel
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: python3-base
|
||||
@ -56,6 +52,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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user