代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/memkind 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: memkind
Summary: Extensible Heap Manager for User
Version: 1.7.0
Release: 5
License: BSD
URL: http://memkind.github.io/memkind
Source0: https://github.com/memkind/memkind/archive/v1.7.0/%{name}-%{version}.tar.gz
Patch0001: 0001-fix-multi-define.patch
BuildRequires: automake libtool numactl-devel systemd gcc gcc-c++
ExclusiveArch: x86_64
%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
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
pushd %{_builddir}/memkind-1.7.0
echo 1.7.0 > %{_builddir}/memkind-1.7.0/VERSION
./build.sh --prefix=%{_prefix} --includedir=%{_includedir} --libdir=%{_libdir} \
--bindir=%{_bindir} --docdir=%{_docdir}/memkind --mandir=%{_mandir} \
--sbindir=%{_sbindir}
popd
%install
pushd %{_builddir}/memkind-1.7.0
%make_install
popd
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%{_libdir}/libmemkind.so.*
%{_libdir}/libautohbw.so.*
%{_bindir}/memkind-hbw-nodes
%dir %{_docdir}/memkind
%doc %{_docdir}/memkind/COPYING
%files devel
%dir %{_includedir}/memkind
%dir %{_includedir}/memkind/internal/
%{_includedir}/memkind/internal/*.h
%{_includedir}/memkind*.h
%{_includedir}/hbwmalloc.h
%{_includedir}/hbw_allocator.h
%{_libdir}/libmemkind.so
%{_libdir}/libautohbw.so
%exclude %{_libdir}/libmemkind.{l,}a
%exclude %{_libdir}/libautohbw.{l,}a
%exclude %{_docdir}/memkind/VERSION
%files help
%doc %{_docdir}/memkind/README
%{_mandir}/man3/*
%changelog
* Wed Aug 2 2021 luweitao <luweitaobe@163.com> - 2.7.1-12
- fix compile failure by GCC-10
* Thu Apr 23 2020 leiju <leiju4@huawei.com> - 1.7.0-4
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。