From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE38115806E for ; Tue, 16 May 2023 03:39:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3302EE08E0; Tue, 16 May 2023 03:39:55 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 1E572E08E0 for ; Tue, 16 May 2023 03:39:55 +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 5F256340D54 for ; Tue, 16 May 2023 03:39:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87531A71 for ; Tue, 16 May 2023 03:39:51 +0000 (UTC) From: "Sam James" 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" Message-ID: <1684208157.0f303d8963f676ef2da6050e556ab3cfa06f035c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hwloc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/hwloc/hwloc-2.9.1.ebuild X-VCS-Directories: sys-apps/hwloc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0f303d8963f676ef2da6050e556ab3cfa06f035c X-VCS-Branch: master Date: Tue, 16 May 2023 03:39:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 88e3722b-ce64-422f-8b54-ef3da480ad6b X-Archives-Hash: 24659be85a53ed068176c233a0fa2cbc commit: 0f303d8963f676ef2da6050e556ab3cfa06f035c Author: Sam James gentoo org> AuthorDate: Tue May 16 03:13:03 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 16 03:35:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f303d89 sys-apps/hwloc: add Valgrind annotation support Signed-off-by: Sam James gentoo.org> sys-apps/hwloc/hwloc-2.9.1.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys-apps/hwloc/hwloc-2.9.1.ebuild b/sys-apps/hwloc/hwloc-2.9.1.ebuild index 0a38757abeb5..b94b31bd6a7a 100644 --- a/sys-apps/hwloc/hwloc-2.9.1.ebuild +++ b/sys-apps/hwloc/hwloc-2.9.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://www.open-mpi.org/software/${PN}/${MY_PV}/downloads/${P}.tar.bz2 LICENSE="BSD" SLOT="0/15" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="cairo +cpuid cuda debug nvml +pci static-libs svg udev xml X video_cards_nvidia" +IUSE="cairo +cpuid cuda debug nvml +pci static-libs svg udev valgrind xml X video_cards_nvidia" # opencl: opencl support dropped with x11-drivers/ati-drivers being removed (bug #582406). # anyone with hardware is welcome to step up and help test to get it re-added. @@ -34,7 +34,8 @@ RDEPEND=">=sys-libs/ncurses-5.9-r3:=[${MULTILIB_USEDEP}] x11-libs/libXext x11-libs/libX11 )" -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + valgrind? ( dev-util/valgrind )" # 2.69-r5 for --runstatedir BDEPEND=">=sys-devel/autoconf-2.69-r5 virtual/pkgconfig" @@ -65,6 +66,9 @@ multilib_src_configure() { append-ldflags "-L${ESYSROOT}/opt/cuda/$(get_libdir)" fi + export ac_cv_header_valgrind_valgrind_h=$(multilib_native_usex valgrind) + export ac_cv_have_decl_RUNNING_ON_VALGRIND=$(multilib_native_usex valgrind) + local myconf=( --disable-opencl