forked from pool/unified-memory-framework
Initial commit
This commit is contained in:
18
_service
Normal file
18
_service
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<services>
|
||||||
|
<service name="format_spec_file" mode="manual" />
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="url">https://github.com/oneapi-src/unified-memory-framework.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">v0.10.0</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual" />
|
||||||
|
|
||||||
|
<service name="tar" mode="buildtime" />
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
<param name="file">unified-memory-framework-*.tar</param>
|
||||||
|
</service>
|
||||||
|
|
||||||
|
</services>
|
||||||
BIN
unified-memory-framework-0.10.0.obscpio
Normal file
BIN
unified-memory-framework-0.10.0.obscpio
Normal file
Binary file not shown.
4
unified-memory-framework.changes
Normal file
4
unified-memory-framework.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 3 23:43:49 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||||
|
|
||||||
|
- Initial packaging at v0.10.0
|
||||||
4
unified-memory-framework.obsinfo
Normal file
4
unified-memory-framework.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
name: unified-memory-framework
|
||||||
|
version: 0.10.0
|
||||||
|
mtime: 1733760097
|
||||||
|
commit: ee6a7115618f1660a5c17b8b537bba0ff094c648
|
||||||
118
unified-memory-framework.spec
Normal file
118
unified-memory-framework.spec
Normal file
@@ -0,0 +1,118 @@
|
|||||||
|
#
|
||||||
|
# spec file for package unified-memory-framework
|
||||||
|
#
|
||||||
|
# Copyright (c) 2025 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define libname libumf0
|
||||||
|
Name: unified-memory-framework
|
||||||
|
Version: 0.10.0
|
||||||
|
Release: 0
|
||||||
|
Summary: oneAPI Unified Memory Framework (UMF)
|
||||||
|
License: Apache-2.0
|
||||||
|
URL: https://github.com/oneapi-src/unified-memory-framework
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: hwloc-devel
|
||||||
|
BuildRequires: level-zero-devel
|
||||||
|
BuildRequires: libnuma-devel
|
||||||
|
BuildRequires: ninja
|
||||||
|
BuildRequires: tbb-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Unified Memory Framework (UMF) is a library for constructing allocators
|
||||||
|
and memory pools. It also contains broadly useful abstractions and utilities
|
||||||
|
for memory management. UMF allows users to manage multiple memory pools characterized
|
||||||
|
by different attributes, allowing certain allocation types to be isolated
|
||||||
|
from others and allocated using different hardware resources as required.
|
||||||
|
|
||||||
|
%package -n %{libname}
|
||||||
|
Summary: oneAPI Unified Memory Framework (UMF)
|
||||||
|
|
||||||
|
%description -n %{libname}
|
||||||
|
The Unified Memory Framework (UMF) is a library for constructing allocators
|
||||||
|
and memory pools. UMF allows users to manage multiple memory pools characterized
|
||||||
|
by different attributes, allowing certain allocation types to be isolated
|
||||||
|
from others and allocated using different hardware resources as required.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{libname} = %{version}
|
||||||
|
Requires: level-zero-devel
|
||||||
|
Recommends: %{name}-doc
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The Unified Memory Framework (UMF) is a library for constructing allocators
|
||||||
|
and memory pools.
|
||||||
|
|
||||||
|
This package contains the development files for UMF.
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation for %{name}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
The Unified Memory Framework (UMF) is a library for constructing allocators
|
||||||
|
and memory pools.
|
||||||
|
|
||||||
|
This package contains the documentation for UMF.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%define __builder ninja
|
||||||
|
%cmake \
|
||||||
|
-DUMF_BUILD_TESTS=OFF \
|
||||||
|
-DUMF_BUILD_SHARED_LIBRARY=ON \
|
||||||
|
-DUMF_LEVEL_ZERO_INCLUDE_DIR=%{_includedir}/level_zero \
|
||||||
|
-DUMF_BUILD_CUDA_PROVIDER=OFF
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
rm %{buildroot}%{_datadir}/doc/umf/licensing/third-party-programs.txt
|
||||||
|
rm %{buildroot}%{_datadir}/doc/umf/LICENSE.TXT
|
||||||
|
|
||||||
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n %{libname}
|
||||||
|
# licenses
|
||||||
|
%license LICENSE.TXT
|
||||||
|
%doc README.md
|
||||||
|
%doc licensing/third-party-programs.txt
|
||||||
|
|
||||||
|
%{_libdir}/libumf.so.0.0.0
|
||||||
|
%{_libdir}/libumf_proxy.so.0
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_libdir}/libumf.so
|
||||||
|
%{_libdir}/libumf.so.0
|
||||||
|
%{_libdir}/libumf_proxy.so
|
||||||
|
%{_includedir}/umf.h
|
||||||
|
%{_includedir}/umf/
|
||||||
|
%{_libdir}/cmake/umf/
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%if 0%{?sle_version} == 150500
|
||||||
|
%{_datadir}/doc/umf/
|
||||||
|
%else
|
||||||
|
%{_docdir}/unified-memory-framework/
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
||||||
Reference in New Issue
Block a user