forked from pool/level-zero
* Don't exchange zet/zes DDI tables for tracing
* Fix OpenSSF token permissions warning
* Rename init functions to avoid confusion with zeInit
* Add missing ZE_RESULT_ERROR_UNINITIALIZED checks to
zesDriverGet
* Fix DriverGet to handle failed drivers and avoid layer init
during checks
* Fix layer init with multiple drivers and ensure init for
instrumentation support
* Change loader log file location
* Add update-spec.yml workflow
* Define FMT_HEADER_ONLY for spdlog inclusion
* spdlog: Use system library if requested
* Create scorecard.yml
* Support for Pluggable Validation Layer Checkers
* Add NPU Driver to list of known names on linux
* Correct casting in tracing layer sample code
* Bundle spdlog headers as part of build vs library build
* Recognize mutable command list struct types in validation
layer
* Update to support v1.9.3 of the L0 Spec
* Fix Tracing Layer Dynamic Enable Counter
* Fix loading environment strings
* Avoid init of Logger unless Enabled by
ZEL_ENABLE_LOADER_LOGGING
* fix Logging build to be static linked
* Fix code Gen scripts for zesInit Only
* Fix Build using IntelLLVM compiler
* Installation path fixes
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/level-zero?expand=0&rev=31
77 lines
2.3 KiB
RPMSpec
77 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package level-zero
|
|
#
|
|
# Copyright (c) 2024 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.17.25
|
|
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
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: make
|
|
BuildRequires: opencl-headers
|
|
ExclusiveArch: x86_64
|
|
|
|
%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 -n level-zero-%{version}
|
|
|
|
%build
|
|
%cmake
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%license LICENSE
|
|
%{_libdir}/libze_loader.so.*
|
|
%{_libdir}/libze_validation_layer.so.*
|
|
%{_libdir}/libze_tracing_layer.so.*
|
|
|
|
%files devel
|
|
%dir %{_includedir}/level_zero
|
|
%{_includedir}/level_zero/*
|
|
%{_libdir}/libze_loader.so
|
|
%{_libdir}/libze_validation_layer.so
|
|
%{_libdir}/libze_tracing_layer.so
|
|
%{_libdir}/pkgconfig/libze_loader.pc
|
|
%{_libdir}/pkgconfig/level-zero.pc
|
|
|
|
%changelog
|