diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2006-07-16 23:04:25 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2006-07-16 23:04:25 +0000 |
commit | 0db47d7d3a5a3602f0e22b9c93b235d796b7fae6 (patch) | |
tree | 30d3735d6249a1e212a6652ba2eea2de9ef379c2 /sys-process | |
parent | applied patch to prevent hardened symbols in kernel. Commit permission grante... (diff) | |
download | gentoo-2-0db47d7d3a5a3602f0e22b9c93b235d796b7fae6.tar.gz gentoo-2-0db47d7d3a5a3602f0e22b9c93b235d796b7fae6.tar.bz2 gentoo-2-0db47d7d3a5a3602f0e22b9c93b235d796b7fae6.zip |
Version bump, test cleanup.
(Portage version: 2.1.1_pre3)
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/numactl/ChangeLog | 7 | ||||
-rw-r--r-- | sys-process/numactl/files/digest-numactl-0.9.9 | 3 | ||||
-rw-r--r-- | sys-process/numactl/numactl-0.9.9.ebuild | 55 |
3 files changed, 64 insertions, 1 deletions
diff --git a/sys-process/numactl/ChangeLog b/sys-process/numactl/ChangeLog index aed741d155a2..3fa0dca343a6 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.1 2006/06/02 10:02:59 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v 1.2 2006/07/16 23:04:25 robbat2 Exp $ + +*numactl-0.9.9 (16 Jul 2006) + + 16 Jul 2006; Robin H. Johnson <robbat2@gentoo.org> +numactl-0.9.9.ebuild: + Version bump, test cleanup. *numactl-0.9.8 (02 Jun 2006) diff --git a/sys-process/numactl/files/digest-numactl-0.9.9 b/sys-process/numactl/files/digest-numactl-0.9.9 new file mode 100644 index 000000000000..a32bd9bb2c70 --- /dev/null +++ b/sys-process/numactl/files/digest-numactl-0.9.9 @@ -0,0 +1,3 @@ +MD5 3e09982dd3d07d9af921ff15ac088da0 numactl-0.9.9.tar.gz 49574 +RMD160 bbe653b0c97d96d7bce220e3df595426374ef1b3 numactl-0.9.9.tar.gz 49574 +SHA256 5dc213f39cceb1f0ca30028575c4c89dcba9efa66e4164da358260447e0b348f numactl-0.9.9.tar.gz 49574 diff --git a/sys-process/numactl/numactl-0.9.9.ebuild b/sys-process/numactl/numactl-0.9.9.ebuild new file mode 100644 index 000000000000..68d49299ce1a --- /dev/null +++ b/sys-process/numactl/numactl-0.9.9.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/numactl-0.9.9.ebuild,v 1.1 2006/07/16 23:04:25 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!" +} |