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 EF53315815E for ; Wed, 7 Feb 2024 20:37:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56146E2A89; Wed, 7 Feb 2024 20:35:33 +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 02A77E2A83 for ; Wed, 7 Feb 2024 20:35:33 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 8/8] sys-devel/lld: Migrate to llvm-utils.eclass Date: Wed, 7 Feb 2024 21:11:43 +0100 Message-ID: <20240207203515.17640-9-mgorny@gentoo.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240207203515.17640-1-mgorny@gentoo.org> References: <20240207203515.17640-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: b6def31a-bf32-4a04-a42f-7d56bf43cee6 X-Archives-Hash: 5bf36c2811c4c18777588dd454f9540a Signed-off-by: Michał Górny --- sys-devel/lld/lld-18.1.0_rc2.ebuild | 5 +++-- sys-devel/lld/lld-19.0.0.9999.ebuild | 5 +++-- sys-devel/lld/lld-19.0.0_pre20240203.ebuild | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/sys-devel/lld/lld-18.1.0_rc2.ebuild b/sys-devel/lld/lld-18.1.0_rc2.ebuild index e72385c1bdb1..db957ad1ab9a 100644 --- a/sys-devel/lld/lld-18.1.0_rc2.ebuild +++ b/sys-devel/lld/lld-18.1.0_rc2.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs +inherit cmake flag-o-matic llvm.org llvm-utils python-any-r1 toolchain-funcs DESCRIPTION="The LLVM linker (link editor)" HOMEPAGE="https://llvm.org/" @@ -41,7 +41,6 @@ python_check_deps() { } pkg_setup() { - LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup use test && python-any-r1_pkg_setup } @@ -57,6 +56,8 @@ src_unpack() { } src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" diff --git a/sys-devel/lld/lld-19.0.0.9999.ebuild b/sys-devel/lld/lld-19.0.0.9999.ebuild index e72385c1bdb1..db957ad1ab9a 100644 --- a/sys-devel/lld/lld-19.0.0.9999.ebuild +++ b/sys-devel/lld/lld-19.0.0.9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs +inherit cmake flag-o-matic llvm.org llvm-utils python-any-r1 toolchain-funcs DESCRIPTION="The LLVM linker (link editor)" HOMEPAGE="https://llvm.org/" @@ -41,7 +41,6 @@ python_check_deps() { } pkg_setup() { - LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup use test && python-any-r1_pkg_setup } @@ -57,6 +56,8 @@ src_unpack() { } src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" diff --git a/sys-devel/lld/lld-19.0.0_pre20240203.ebuild b/sys-devel/lld/lld-19.0.0_pre20240203.ebuild index e72385c1bdb1..db957ad1ab9a 100644 --- a/sys-devel/lld/lld-19.0.0_pre20240203.ebuild +++ b/sys-devel/lld/lld-19.0.0_pre20240203.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs +inherit cmake flag-o-matic llvm.org llvm-utils python-any-r1 toolchain-funcs DESCRIPTION="The LLVM linker (link editor)" HOMEPAGE="https://llvm.org/" @@ -41,7 +41,6 @@ python_check_deps() { } pkg_setup() { - LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup use test && python-any-r1_pkg_setup } @@ -57,6 +56,8 @@ src_unpack() { } src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" -- 2.43.0