Files
level-zero/level-zero.spec
Alessandro de Oliveira Faria ec955a9a7c - Update to version 1.24.2:
* Enable DDI Driver Path by Default by @nrspruit in #361
  * Add tests for Loader Driver interaction conformance for Sysman
    VF Management API's by @vishnu-khanth in #360
  * level-zero: Changes to get ze_loader loaded for Android by 
    @JeevakaPrabu in #365
  * Update Changelog and version to v1.24.1 by @nrspruit in #366
  * Check if compile flags are supported: /GL, /QSpectre, 
    /guard:cf by @KseniyaTikhomirova in #368
  * Add build instructions for Windows by @ivorobts in #58
  * Add repo_token to scorecard.yml by @lisanna-dettwyler in #159
  * Update Changelog and version to v1.24.2 with fix for dynamic
    flag assignment by @nrspruit in #369

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/level-zero?expand=0&rev=47
2025-09-02 22:15:24 +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.24.2
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