- 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
This commit is contained in:
Stefan Dirsch 2024-09-26 13:53:32 +00:00 committed by Git OBS Bridge
parent ecb15dd67e
commit 45405850fe
7 changed files with 24 additions and 4 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,10 @@
-------------------------------------------------------------------
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>

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 _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
@ -56,6 +57,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.