10
0
Files
opencl-headers/opencl-headers.spec
Martin Pluskal d0f632363f - Update to version 2024.10.24:
* Temporarily disable PPA builds (#267)
  * Update headers regenerated from latest xml (#264)
  * Add properties parameter to all command-buffer commands (#260)
  * Use array for clUpdateMutableCommandsKHR (#245)
  * Disable gcc-11 on MacOS (#262)
  * Update generated headers and remove CL/GL types from cl_platform.h (#257)
  * Fix CI failures (#256)
  * Introduce extension macros (#251)
  * Update CI matrix (#252)
  * Updated CI, added CD (#239)

OBS-URL: https://build.opensuse.org/package/show/science/opencl-headers?expand=0&rev=38
2024-11-25 20:57:14 +00:00

64 lines
1.7 KiB
RPMSpec

#
# spec file for package opencl-headers
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: opencl-headers
Version: 2024.10.24
Release: 0
Summary: OpenCL (Open Computing Language) headers
License: MIT
URL: https://www.khronos.org/registry/cl/
Source: %{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: python3-base
Conflicts: opencl-headers-1_2
BuildArch: noarch
%description
OpenCL is a royalty-free standard for cross-platform, parallel programming
of modern processors found in personal computers, servers and
handheld/embedded devices.
This package provides the official Khronos Group OpenCL headers needed to
compile programs that use OpenCL.
%prep
%autosetup
%build
%cmake
%cmake_build
%install
%cmake_install
%check
%ctest
%files
%doc README.md
%license LICENSE
%dir %{_includedir}/CL
%dir %{_datadir}/cmake/OpenCLHeaders/
%{_datadir}/cmake/OpenCLHeaders/*
%{_datadir}/pkgconfig/OpenCL-Headers.pc
%{_includedir}/CL/*.h*
%changelog