SHA256
8
0
forked from pool/level-zero
Files
level-zero/level-zero.spec
Alessandro de Oliveira Faria a8ae1d4251 - Replace explicit declarations in %files with wildcards
- Remove default -n parameter from %autosetup macro 
- Update to version 1.22.3:
  * Fix sysman only init to disallow retrieval of loader context
    due to version compatibility
  * Fix GUID gen and update to v1.22.3
  * Add ability to Register a TeardownCallback to notify release of
    L0 resources
- Update to version 1.22.1/1.22.2:
  * Bug fixes
- Update to version 1.22.0:
  * Update Level Zero Loader and Headers to support v1.13.1 of
    L0 Spec

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/level-zero?expand=0&rev=42
2025-06-05 17:39:55 +00:00

73 lines
2.2 KiB
RPMSpec

#
# spec file for package level-zero
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2023 Alessandro de Oliveira Faria (A.K.A CABELO) <cabelo@opensuse.org>
#
# 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: level-zero
Version: 1.22.3
Release: 0
Summary: oneAPI Level Zero Specification Headers and Loader
License: MIT
URL: https://github.com/oneapi-src/level-zero
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja
BuildRequires: opencl-headers
%description
The objective of the oneAPI Level-Zero Application Programming Interface (API)
is to provide direct-to-metal interfaces to offload accelerator devices. Its
programming interface can be tailored to any device needs and can be adapted to
support broader set of languages features such as function pointers, virtual
functions, unified memory, and I/O capabilities.
%package devel
Summary: The oneAPI Level Zero Specification Headers and Loader development package
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains library and header files for developing
applications that use %{name}.
%prep
%autosetup
%build
%define __builder ninja
%cmake
%cmake_build
%install
%cmake_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license LICENSE
%{_libdir}/libze_*.so.*
%files devel
%dir %{_includedir}/level_zero
%{_includedir}/level_zero/*
%{_libdir}/libze_*.so
%{_libdir}/pkgconfig/libze_loader.pc
%{_libdir}/pkgconfig/level-zero.pc
%changelog