memkind版本查看_memkind.spec

Name: memkind

Summary: Extensible Heap Manager for User

Version: 1.7.0

Release: 4

License: BSD

URL: http://memkind.github.io/memkind

Source0: https://github.com/memkind/memkind/archive/v1.7.0/%{name}-%{version}.tar.gz

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

* Thu Apr 23 2020 leiju - 1.7.0-4

- Package init

一键复制

编辑

Web IDE

原始数据

按行查看

历史

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值