commit a146bc935dcdd34b4a47a02e89103cb787988a375c35bdb72c944310162913f7 Author: Eyad Issa Date: Sat Jan 4 02:31:44 2025 +0000 Initial commit diff --git a/_service b/_service new file mode 100644 index 0000000..df05b95 --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + + https://github.com/oneapi-src/unified-memory-framework.git + git + v0.10.0 + @PARENT_TAG@ + v(.*) + + + + + + gz + unified-memory-framework-*.tar + + + diff --git a/unified-memory-framework-0.10.0.obscpio b/unified-memory-framework-0.10.0.obscpio new file mode 100644 index 0000000..64c098c Binary files /dev/null and b/unified-memory-framework-0.10.0.obscpio differ diff --git a/unified-memory-framework.changes b/unified-memory-framework.changes new file mode 100644 index 0000000..a86415e --- /dev/null +++ b/unified-memory-framework.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Jan 3 23:43:49 UTC 2025 - Eyad Issa + +- Initial packaging at v0.10.0 diff --git a/unified-memory-framework.obsinfo b/unified-memory-framework.obsinfo new file mode 100644 index 0000000..2b20a21 --- /dev/null +++ b/unified-memory-framework.obsinfo @@ -0,0 +1,4 @@ +name: unified-memory-framework +version: 0.10.0 +mtime: 1733760097 +commit: ee6a7115618f1660a5c17b8b537bba0ff094c648 diff --git a/unified-memory-framework.spec b/unified-memory-framework.spec new file mode 100644 index 0000000..4a05ea1 --- /dev/null +++ b/unified-memory-framework.spec @@ -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