SHA256
1
0
forked from pool/libclc

Compare commits

..

9 Commits

Author SHA256 Message Date
Ana Guerrero
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
Ana Guerrero
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
Ana Guerrero
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
7 changed files with 36 additions and 11 deletions

11
fix-cmake-install.patch Normal file
View 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()

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-19.1.0.src.tar.xz Normal file
View File

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

Binary file not shown.

View File

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

View File

@ -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 _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: clang18-devel
BuildRequires: llvm18-devel
%else
%if 0%{?sle_version} >= 150500
BuildRequires: clang18-devel
BuildRequires: llvm18-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.