Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

7 changed files with 11 additions and 36 deletions

View File

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

3
libclc-18.1.0.src.tar.xz Normal file
View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

@ -1,20 +1,3 @@
-------------------------------------------------------------------
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 19.1.0
%define _libclc_llvm_ver 18.1.0
%define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
%define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
@ -31,7 +31,6 @@ 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
@ -39,8 +38,13 @@ BuildRequires: llvm-devel
BuildRequires: pkgconfig(LLVMSPIRVLib)
%else
%if 0%{?sle_version} >= 150600
BuildRequires: clang19-devel
BuildRequires: llvm19-devel
BuildRequires: clang18-devel
BuildRequires: llvm18-devel
%else
%if 0%{?sle_version} >= 150500
BuildRequires: clang18-devel
BuildRequires: llvm18-devel
%endif
%endif
%endif
BuildRequires: python3-base
@ -52,7 +56,6 @@ 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.