memkind/memkind.spec

116 lines
3.4 KiB
RPMSpec
Raw Normal View History

2020-06-19 18:10:09 +08:00
Name: memkind
Summary: Extensible Heap Manager for User
2023-02-11 10:06:08 +08:00
Version: 1.14.0
2025-02-17 13:50:02 +08:00
Release: 6
2020-06-19 18:10:09 +08:00
License: BSD
URL: http://memkind.github.io/memkind
2023-02-11 10:06:08 +08:00
Source0: https://github.com/memkind/memkind/archive/v1.14.0/%{name}-%{version}.tar.gz
2023-01-18 10:36:17 +08:00
Patch0001: 0001-support-multi-threading-build.patch
Patch0002: 0002-Support-initializing-HBW-nodes-from-memory_locality.patch
2025-02-17 13:50:02 +08:00
Patch0003: 0003-memkind-add-sw64-support.patch
2020-06-19 18:10:09 +08:00
BuildRequires: automake libtool numactl-devel systemd gcc gcc-c++ hwloc-devel
2025-02-17 13:50:02 +08:00
ExclusiveArch: x86_64 aarch64 riscv64 loongarch64 sw_64
2020-06-19 18:10:09 +08:00
%description
The kinds of memory are defined by operating system memory policies that have been applied
to virtual address ranges. Memory characteristics supported by memkind without user extension
2020-06-19 18:10:09 +08:00
include control of NUMA and page size features.
%package devel
Summary: Development lib and tools for Memkind User Extensible Heap Manager
Requires: %{name} = %{version}-%{release}
%description devel
Development lib and tools for Memkind User Extensible Heap Manager.
%package help
Summary: Help documents for memkind
%description help
Help documents for memkind.
%prep
%autosetup -a 0 -n %{name}-%{version} -p1
%build
2023-02-11 10:06:08 +08:00
pushd %{_builddir}/%{name}-%{version}
echo %{version} > %{_builddir}/%{name}-%{version}/VERSION
2020-06-19 18:10:09 +08:00
./build.sh --prefix=%{_prefix} --includedir=%{_includedir} --libdir=%{_libdir} \
2023-02-11 10:06:08 +08:00
--bindir=%{_bindir} --docdir=%{_docdir}/%{name} --mandir=%{_mandir} \
2020-06-19 18:10:09 +08:00
--sbindir=%{_sbindir}
popd
%install
2023-02-11 10:06:08 +08:00
pushd %{_builddir}/%{name}-%{version}
2020-06-19 18:10:09 +08:00
%make_install
popd
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%{_libdir}/libmemkind.so.*
%{_libdir}/libmemtier.so.*
2020-06-19 18:10:09 +08:00
%{_libdir}/libautohbw.so.*
%{_bindir}/memkind-hbw-nodes
%{_bindir}/memkind-auto-dax-kmem-nodes
2023-02-11 10:06:08 +08:00
%{_bindir}/memtier
2020-06-19 18:10:09 +08:00
%dir %{_docdir}/memkind
%doc %{_docdir}/memkind/COPYING
%files devel
%{_includedir}/fixed_allocator.h
2020-06-19 18:10:09 +08:00
%{_includedir}/memkind*.h
%{_includedir}/hbwmalloc.h
%{_includedir}/hbw_allocator.h
%{_includedir}/pmem_allocator.h
2020-06-19 18:10:09 +08:00
%{_libdir}/libmemkind.so
%{_libdir}/libmemtier.so
2020-06-19 18:10:09 +08:00
%{_libdir}/libautohbw.so
%exclude %{_libdir}/libmemkind.{l,}a
%exclude %{_libdir}/libmemtier.{l,}a
2020-06-19 18:10:09 +08:00
%exclude %{_libdir}/libautohbw.{l,}a
%exclude %{_libdir}/pkgconfig/memkind.pc
2020-06-19 18:10:09 +08:00
%exclude %{_docdir}/memkind/VERSION
%files help
%doc %{_docdir}/memkind/README
%{_mandir}/man1/*
2020-06-19 18:10:09 +08:00
%{_mandir}/man3/*
%{_mandir}/man7/*
2020-06-19 18:10:09 +08:00
%changelog
2025-02-17 13:50:02 +08:00
* Mon Feb 17 2025 maqi <maqi@uniontech.com> - 1.14.0-6
- add support sw_64
* Mon Jul 1 2024 Jie Liu <liujie375@h-partners.com> - 1.14.0-5
- Support initializing HBW nodes from HMAT with libaray hwloc-devel
* Wed Oct 18 2023 Yicong Yang <yangyicong@hisilicon.com> - 1.14.0-4
- Support initializing HBW nodes from memory_locality on openEuler
2023-08-18 14:23:00 +08:00
* Fri Aug 18 2023 haomimi <haomimi@uniontech.com> - 1.14.0-3
- enable loongarch64 architecture
2023-08-04 15:43:56 +08:00
* Fri Aug 04 2023 Jingwiw <wangjingwei@iscas.ac.cn> - 1.14.0-2
- enable riscv64 architecture
2023-02-11 10:06:08 +08:00
* Sat Feb 11 2023 Qingqing Li <liqingqing3@huawei.com> - 1.14.0-1
- Upgrade to 1.14.0
2023-01-18 10:36:17 +08:00
* Wed Jan 18 2023 liyanan <liyanan32@h-partners.com> - 1.13.0-2
- Support multi-threading build
* Mon Jun 6 2022 Hesham Almatary <hesham.almatary@huawei.com> - 1.13.0-1
- Upgrade to version 1.13.0 and allow building for aarch64
2023-02-11 10:06:08 +08:00
* Mon Aug 2 2021 luweitao <luweitaobe@163.com> - 2.7.1-12
- fix compile failure by GCC-10
2020-06-19 18:10:09 +08:00
* Thu Apr 23 2020 leiju <leiju4@huawei.com> - 1.7.0-4
- Package init