forked from pool/opencl-cpp-headers
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e4895608cb | |||
|
|
05f5a0ef90 | ||
| 6c2ddb149f | |||
|
|
f271fcd374 |
3
_service
Normal file
3
_service
Normal file
@@ -0,0 +1,3 @@
|
||||
<services>
|
||||
<service name="download_files" mode="manual" />
|
||||
</services>
|
||||
3
opencl-cpp-headers-2024.10.24.tar.gz
Normal file
3
opencl-cpp-headers-2024.10.24.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51aebe848514b3bc74101036e111f8ee98703649eec7035944831dc6e05cec14
|
||||
size 132695
|
||||
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 22 15:18:48 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Install pkg-config and CMake files
|
||||
- Use CMake setup
|
||||
- Use %autosetup macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 14 22:31:46 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
- Update to version 2024.10.24.
|
||||
* Synchronize with OpenCL v3.0.17 specification release.
|
||||
* Support for the `cl_khr_external_semaphore_dx_fence` and
|
||||
`cl_khr_external_memory_dx` extensions was removed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 10 20:08:28 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package opencl-cpp-headers
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2024 Aaron Puchert.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -18,18 +18,28 @@
|
||||
|
||||
|
||||
Name: opencl-cpp-headers
|
||||
Version: 2024.05.08
|
||||
Version: 2024.10.24
|
||||
Release: 0
|
||||
Summary: OpenCL C++ headers
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://www.khronos.org/registry/OpenCL/
|
||||
Source: https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v%{version}.tar.gz
|
||||
Source: https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: findutils
|
||||
BuildRequires: gcc-c++
|
||||
%if 0%{?suse_version} >= 1600
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(OpenCL)
|
||||
BuildRequires: pkgconfig(OpenCL-Headers)
|
||||
%else
|
||||
BuildRequires: ocl-icd-devel
|
||||
BuildRequires: opencl-headers
|
||||
%endif
|
||||
Requires: opencl-headers
|
||||
Conflicts: opencl-headers-1_2
|
||||
BuildArch: noarch
|
||||
Requires: opencl-headers
|
||||
|
||||
%description
|
||||
OpenCL is a royalty-free standard for cross-platform, parallel programming
|
||||
@@ -40,19 +50,24 @@ This package provides the official C++ headers for OpenCL, which are wrappers
|
||||
around the C headers.
|
||||
|
||||
%prep
|
||||
%setup -q -n OpenCL-CLHPP-%{version}
|
||||
%autosetup -n OpenCL-CLHPP-%{version}
|
||||
|
||||
%build
|
||||
# Fix line endings
|
||||
find -type f -exec dos2unix {} \;
|
||||
|
||||
%cmake -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
install -d -m 0755 %{buildroot}%{_includedir}/CL
|
||||
install -p -m 0644 include/CL/* %{buildroot}%{_includedir}/CL
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%dir %{_includedir}/CL
|
||||
%{_includedir}/CL/cl2.hpp
|
||||
%{_includedir}/CL/opencl.hpp
|
||||
%{_datadir}/cmake/OpenCLHeadersCpp/
|
||||
%{_datadir}/pkgconfig/OpenCL-CLHPP.pc
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:22921fd23ca72a21ac5592861d64e7ea53cd8a705fccd73905911f8489519a0b
|
||||
size 124818
|
||||
Reference in New Issue
Block a user