diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2007-05-01 07:10:23 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2007-05-01 07:10:23 +0000 |
commit | b9728c57be025cdeab2dc60d40064ab2fffaebc1 (patch) | |
tree | 5ff17e6e64fb4b0d6c835ab1390982f4871af06c /sys-process/numactl | |
parent | Version bump. (diff) | |
download | gentoo-2-b9728c57be025cdeab2dc60d40064ab2fffaebc1.tar.gz gentoo-2-b9728c57be025cdeab2dc60d40064ab2fffaebc1.tar.bz2 gentoo-2-b9728c57be025cdeab2dc60d40064ab2fffaebc1.zip |
Version bump.
(Portage version: 2.1.2.5)
Diffstat (limited to 'sys-process/numactl')
-rw-r--r-- | sys-process/numactl/ChangeLog | 9 | ||||
-rw-r--r-- | sys-process/numactl/files/digest-numactl-0.9.10 | 3 | ||||
-rw-r--r-- | sys-process/numactl/numactl-0.9.10.ebuild | 55 |
3 files changed, 65 insertions, 2 deletions
diff --git a/sys-process/numactl/ChangeLog b/sys-process/numactl/ChangeLog index 3fa0dca343a6..f7f3ce93cc47 100644 --- a/sys-process/numactl/ChangeLog +++ b/sys-process/numactl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-process/numactl -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v 1.2 2006/07/16 23:04:25 robbat2 Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v 1.3 2007/05/01 07:10:23 robbat2 Exp $ + +*numactl-0.9.10 (01 May 2007) + + 01 May 2007; Robin H. Johnson <robbat2@gentoo.org> +numactl-0.9.10.ebuild: + Version bump. *numactl-0.9.9 (16 Jul 2006) diff --git a/sys-process/numactl/files/digest-numactl-0.9.10 b/sys-process/numactl/files/digest-numactl-0.9.10 new file mode 100644 index 000000000000..53c9b7ddd0e3 --- /dev/null +++ b/sys-process/numactl/files/digest-numactl-0.9.10 @@ -0,0 +1,3 @@ +MD5 440f34e476ed5528a250edc041da5a41 numactl-0.9.10.tar.gz 49615 +RMD160 be0e91247bb2b62dfe4df3908b3b2cdb3c3ea0f1 numactl-0.9.10.tar.gz 49615 +SHA256 b1999ec876c7278d68495365dde8dae5f7f6a38917cfc8b8c663fcd6a4d3d362 numactl-0.9.10.tar.gz 49615 diff --git a/sys-process/numactl/numactl-0.9.10.ebuild b/sys-process/numactl/numactl-0.9.10.ebuild new file mode 100644 index 000000000000..3db90d3a0adb --- /dev/null +++ b/sys-process/numactl/numactl-0.9.10.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/numactl-0.9.10.ebuild,v 1.1 2007/05/01 07:10:23 robbat2 Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Utilities and libraries for NUMA systems." +HOMEPAGE="ftp://ftp.suse.com/pub/people/ak/numa/" +SRC_URI="ftp://ftp.suse.com/pub/people/ak/numa/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc" +IUSE="" +RDEPEND="virtual/libc + dev-lang/perl" +DEPEND="${RDEPEND} + sys-apps/groff" + +src_compile() { + emake all html \ + CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + || die "emake failed" +} + +src_install() { + # do this manually, as the Makefile doesn't do a good job + dobin numactl migratepages numastat + dolib.so libnuma.so.1 + insinto /usr/include + doins numa.h numaif.h + doman migratepages.8 numa.3 numa_maps.5 numactl.8 numastat.8 + dodoc README TODO CHANGES DESIGN + dodoc numademo.c memhog.c + dohtml html/*html + cd ${D}/usr/share/man/man3 + # this list stolen from the Makefile + local MANLINKS="all_nodes alloc alloc_interleaved alloc_interleaved_subset + alloc_local alloc_onnode available bind error exit_on_error free + get_interleave_mask get_interleave_node get_membind get_run_node_mask + interleave_memory max_node no_nodes node_size node_to_cpus police_memory + preferred run_on_node run_on_node_mask set_bind_policy set_interleave_mask + set_localalloc set_membind set_preferred set_strict setlocal_memory + tonode_memory tonodemask_memory distance" + for i in ${MANLINKS}; do + ln -sf numa.3 numa_${i}.3 + done +} + +src_test() { + einfo "The only generically safe test is regress2." + einfo "The other test cases require 2 NUMA nodes." + cd ${S}/test + ./regress2 || die "regress2 failed!" +} |