forked from pool/libclc
Compare commits
9 Commits
Author | SHA256 | Date | |
---|---|---|---|
a51aad48ab | |||
83b4220d2b | |||
af4c91bb6d | |||
330e3ddf27 | |||
b45b80e24c | |||
05ac63cb8b | |||
45405850fe | |||
|
ecb15dd67e | ||
|
a280f0adad |
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()
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a2faf505c8c1703c21a2999a10b0f0b4d24180f407b1cafe8d08d04cedc30e5b
|
|
||||||
size 126568
|
|
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,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Mon Mar 18 02:33:21 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
13
libclc.spec
13
libclc.spec
@@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _libclc_llvm_ver 18.1.0
|
%define _libclc_llvm_ver 19.1.0
|
||||||
%define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
|
%define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
|
||||||
%define _tagver %_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
|
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_tagver}/%{name}-%{_version}.src.tar.xz.sig
|
||||||
Source100: %{name}-rpmlintrc
|
Source100: %{name}-rpmlintrc
|
||||||
Source101: https://releases.llvm.org/release-keys.asc#/%{name}.keyring
|
Source101: https://releases.llvm.org/release-keys.asc#/%{name}.keyring
|
||||||
|
Patch0: fix-cmake-install.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
%if 0%{?suse_version} >= 1550
|
%if 0%{?suse_version} >= 1550
|
||||||
BuildRequires: clang-devel
|
BuildRequires: clang-devel
|
||||||
@@ -38,13 +39,8 @@ BuildRequires: llvm-devel
|
|||||||
BuildRequires: pkgconfig(LLVMSPIRVLib)
|
BuildRequires: pkgconfig(LLVMSPIRVLib)
|
||||||
%else
|
%else
|
||||||
%if 0%{?sle_version} >= 150600
|
%if 0%{?sle_version} >= 150600
|
||||||
BuildRequires: clang18-devel
|
BuildRequires: clang19-devel
|
||||||
BuildRequires: llvm18-devel
|
BuildRequires: llvm19-devel
|
||||||
%else
|
|
||||||
%if 0%{?sle_version} >= 150500
|
|
||||||
BuildRequires: clang18-devel
|
|
||||||
BuildRequires: llvm18-devel
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
@@ -56,6 +52,7 @@ Library requirements of the OpenCL C programming language.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libclc-%{_version}.src
|
%setup -q -n libclc-%{_version}.src
|
||||||
|
%autopatch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# The libraries are bitcode files, so LTO is neither supported nor does it help.
|
# The libraries are bitcode files, so LTO is neither supported nor does it help.
|
||||||
|
Reference in New Issue
Block a user