From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1693837-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2268D1581F3 for <garchives@archives.gentoo.org>; Mon, 25 Nov 2024 03:01:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 419EAE03DF; Mon, 25 Nov 2024 03:01:15 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A865E03DF for <gentoo-commits@lists.gentoo.org>; Mon, 25 Nov 2024 03:01:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66DB8335C2E for <gentoo-commits@lists.gentoo.org>; Mon, 25 Nov 2024 03:01:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9836130F for <gentoo-commits@lists.gentoo.org>; Mon, 25 Nov 2024 03:01:12 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1732503037.8f7d2d6d25b67776127a0d220c32d76873c8e3c1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/numactl/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/numactl/Manifest sys-process/numactl/numactl-2.0.19.ebuild X-VCS-Directories: sys-process/numactl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8f7d2d6d25b67776127a0d220c32d76873c8e3c1 X-VCS-Branch: master Date: Mon, 25 Nov 2024 03:01:12 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5c7be76c-e606-49fd-8e44-dc4102b1d8ce X-Archives-Hash: dc591f2ddefd8069a7747e48904d8235 commit: 8f7d2d6d25b67776127a0d220c32d76873c8e3c1 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Nov 25 02:50:37 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Nov 25 02:50:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f7d2d6d sys-process/numactl: add 2.0.19 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-process/numactl/Manifest | 1 + sys-process/numactl/numactl-2.0.19.ebuild | 67 +++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/sys-process/numactl/Manifest b/sys-process/numactl/Manifest index dd43d2b7a2b7..d89ecf2e36e6 100644 --- a/sys-process/numactl/Manifest +++ b/sys-process/numactl/Manifest @@ -1,2 +1,3 @@ DIST numactl-2.0.16.tar.gz 450003 BLAKE2B 3ac38129b914d62958182020f57969878f2817bd3155c6b5362a66f96deb2058268fa8004729a2d3333642c8c0bee73a451030a287958fa145247b7685e426aa SHA512 6e17724567c363a08994fe7f5569b6ec62bd1ae608244945fddcb2d6a212b08140340f0d862595ba4016fcba95193e851cb286798f685d314b4c72687af6d879 DIST numactl-2.0.18.tar.gz 447393 BLAKE2B c89d0492e7b3a3e7c569c0081ecf914f2a145d28de1fa0edf26ab23c5e9e1605e4e8f127fd28498436dd2c36ebf9a59e1feba2b525b2b3a00e2aab7be5eb0a54 SHA512 17abe7a3744065edb5ec1e27135873629031c509313809ca99e0d9254f7a5cb00cce5b32173e811e9b9d7cb407aabdcbe3c6be6e3b094ad3e7d696a154b7f1ec +DIST numactl-2.0.19.tar.gz 450856 BLAKE2B 75825bcc5b6beb3a8772dcfab6678b16a35d2ed797afbbe9cc948878c86c3417347ce156e3754711457c2194a018dabc6d47dc6399ec881a3ade16f7cf498f12 SHA512 484b7001e7b4efa32784353e937857e83cf62abbfab92a51cc8573cb49104a1084ffcefd8c5fb66cd389d08eaf201568bbca800cab7a48c42fcdf4397d4d10dc diff --git a/sys-process/numactl/numactl-2.0.19.ebuild b/sys-process/numactl/numactl-2.0.19.ebuild new file mode 100644 index 000000000000..559e2e5aecb6 --- /dev/null +++ b/sys-process/numactl/numactl-2.0.19.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal + +DESCRIPTION="Utilities and libraries for NUMA systems" +HOMEPAGE="https://github.com/numactl/numactl" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/numactl/numactl.git" +else + SRC_URI="https://github.com/numactl/numactl/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="static-libs" + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.18-numademo-cflags.patch # bug #540856 +) + +src_prepare() { + default + + eautoreconf + + # We need to copy the sources or else tests will fail + multilib_copy_sources +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_compile() { + multilib_is_native_abi && default || emake libnuma.la +} + +multilib_src_test() { + if multilib_is_native_abi ; then + if [[ -d /sys/devices/system/node ]] ; then + einfo "The only generically safe test is regress2." + einfo "The other test cases require 2 NUMA nodes." + emake regress2 + else + ewarn "You do not have baseline NUMA support in your kernel, skipping tests." + fi + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" \ + install$(multilib_is_native_abi || echo "-libLTLIBRARIES install-includeHEADERS") + find "${ED}"/usr/ -type f -name libnuma.la -delete || die +} + +multilib_src_install_all() { + local DOCS=( README.md ) + einstalldocs + + # Delete man pages provided by the man-pages package, bug #238805 + rm -r "${ED}"/usr/share/man/man[25] || die +}