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 CAAF4158020 for ; Fri, 14 Oct 2022 13:08:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F067FE07C9; Fri, 14 Oct 2022 13:08:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 CE81BE07C9 for ; Fri, 14 Oct 2022 13:08:25 +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 ECFFE341037 for ; Fri, 14 Oct 2022 13:08:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90D735F6 for ; Fri, 14 Oct 2022 13:08:23 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1665752900.ea9e70d251dd711b91ac3d6da48ab09ce564f3ea.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/lld/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/lld/lld-15.0.2-r1.ebuild sys-devel/lld/lld-15.0.3.9999.ebuild sys-devel/lld/lld-16.0.0.9999.ebuild sys-devel/lld/lld-16.0.0_pre20221010-r1.ebuild X-VCS-Directories: sys-devel/lld/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ea9e70d251dd711b91ac3d6da48ab09ce564f3ea X-VCS-Branch: master Date: Fri, 14 Oct 2022 13:08:23 +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: b511c78a-9a92-491d-8b8a-2174d9b9724c X-Archives-Hash: d60724d6d25ae95dd2ed0c9d879b221e commit: ea9e70d251dd711b91ac3d6da48ab09ce564f3ea Author: Michał Górny gentoo org> AuthorDate: Fri Oct 14 12:58:56 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Oct 14 13:08:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea9e70d2 sys-devel/lld: Enable slotting on LLD 15+ Signed-off-by: Michał Górny gentoo.org> .../lld/{lld-15.0.3.9999.ebuild => lld-15.0.2-r1.ebuild} | 12 +++++++----- sys-devel/lld/lld-15.0.3.9999.ebuild | 10 ++++++---- sys-devel/lld/lld-16.0.0.9999.ebuild | 10 ++++++---- ...d-16.0.0.9999.ebuild => lld-16.0.0_pre20221010-r1.ebuild} | 10 ++++++---- 4 files changed, 25 insertions(+), 17 deletions(-) diff --git a/sys-devel/lld/lld-15.0.3.9999.ebuild b/sys-devel/lld/lld-15.0.2-r1.ebuild similarity index 82% copy from sys-devel/lld/lld-15.0.3.9999.ebuild copy to sys-devel/lld/lld-15.0.2-r1.ebuild index ab883859a6e3..8372cc0466ed 100644 --- a/sys-devel/lld/lld-15.0.3.9999.ebuild +++ b/sys-devel/lld/lld-15.0.2-r1.ebuild @@ -10,8 +10,8 @@ DESCRIPTION="The LLVM linker (link editor)" HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0/${LLVM_SOABI}" -KEYWORDS="" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" IUSE="debug test" RESTRICT="!test? ( test )" @@ -20,15 +20,16 @@ DEPEND=" " RDEPEND=" ${DEPEND} + !sys-devel/lld:0 " BDEPEND=" test? ( >=dev-util/cmake-3.16 - $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") + $(python_gen_any_dep ">=dev-python/lit-${PV}[\${PYTHON_USEDEP}]") ) " PDEPEND=" - sys-devel/lld-toolchain-symlinks:${LLVM_MAJOR} + >=sys-devel/lld-toolchain-symlinks-15-r2:${LLVM_MAJOR} " LLVM_COMPONENTS=( lld cmake libunwind/include/mach-o ) @@ -36,7 +37,7 @@ LLVM_TEST_COMPONENTS=( llvm/utils/{lit,unittest} ) llvm.org_set_globals python_check_deps() { - python_has_version "~dev-python/lit-${PV}[${PYTHON_USEDEP}]" + python_has_version ">=dev-python/lit-${PV}[${PYTHON_USEDEP}]" } pkg_setup() { @@ -62,6 +63,7 @@ src_configure() { use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" -DBUILD_SHARED_LIBS=ON -DLLVM_INCLUDE_TESTS=$(usex test) -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" diff --git a/sys-devel/lld/lld-15.0.3.9999.ebuild b/sys-devel/lld/lld-15.0.3.9999.ebuild index ab883859a6e3..39bcff1a7b13 100644 --- a/sys-devel/lld/lld-15.0.3.9999.ebuild +++ b/sys-devel/lld/lld-15.0.3.9999.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="The LLVM linker (link editor)" HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0/${LLVM_SOABI}" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" KEYWORDS="" IUSE="debug test" RESTRICT="!test? ( test )" @@ -20,15 +20,16 @@ DEPEND=" " RDEPEND=" ${DEPEND} + !sys-devel/lld:0 " BDEPEND=" test? ( >=dev-util/cmake-3.16 - $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") + $(python_gen_any_dep ">=dev-python/lit-${PV}[\${PYTHON_USEDEP}]") ) " PDEPEND=" - sys-devel/lld-toolchain-symlinks:${LLVM_MAJOR} + >=sys-devel/lld-toolchain-symlinks-15-r2:${LLVM_MAJOR} " LLVM_COMPONENTS=( lld cmake libunwind/include/mach-o ) @@ -36,7 +37,7 @@ LLVM_TEST_COMPONENTS=( llvm/utils/{lit,unittest} ) llvm.org_set_globals python_check_deps() { - python_has_version "~dev-python/lit-${PV}[${PYTHON_USEDEP}]" + python_has_version ">=dev-python/lit-${PV}[${PYTHON_USEDEP}]" } pkg_setup() { @@ -62,6 +63,7 @@ src_configure() { use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" -DBUILD_SHARED_LIBS=ON -DLLVM_INCLUDE_TESTS=$(usex test) -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" diff --git a/sys-devel/lld/lld-16.0.0.9999.ebuild b/sys-devel/lld/lld-16.0.0.9999.ebuild index 7eaee12b2222..8af0d07d7df2 100644 --- a/sys-devel/lld/lld-16.0.0.9999.ebuild +++ b/sys-devel/lld/lld-16.0.0.9999.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="The LLVM linker (link editor)" HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0/${LLVM_SOABI}" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" KEYWORDS="" IUSE="debug test zstd" RESTRICT="!test? ( test )" @@ -21,15 +21,16 @@ DEPEND=" " RDEPEND=" ${DEPEND} + !sys-devel/lld:0 " BDEPEND=" test? ( >=dev-util/cmake-3.16 - $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") + $(python_gen_any_dep ">=dev-python/lit-${PV}[\${PYTHON_USEDEP}]") ) " PDEPEND=" - sys-devel/lld-toolchain-symlinks:${LLVM_MAJOR} + >=sys-devel/lld-toolchain-symlinks-16-r2:${LLVM_MAJOR} " LLVM_COMPONENTS=( lld cmake libunwind/include/mach-o ) @@ -37,7 +38,7 @@ LLVM_TEST_COMPONENTS=( llvm/utils/{lit,unittest} ) llvm.org_set_globals python_check_deps() { - python_has_version "~dev-python/lit-${PV}[${PYTHON_USEDEP}]" + python_has_version ">=dev-python/lit-${PV}[${PYTHON_USEDEP}]" } pkg_setup() { @@ -63,6 +64,7 @@ src_configure() { use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" -DBUILD_SHARED_LIBS=ON -DLLVM_INCLUDE_TESTS=$(usex test) ) diff --git a/sys-devel/lld/lld-16.0.0.9999.ebuild b/sys-devel/lld/lld-16.0.0_pre20221010-r1.ebuild similarity index 84% copy from sys-devel/lld/lld-16.0.0.9999.ebuild copy to sys-devel/lld/lld-16.0.0_pre20221010-r1.ebuild index 7eaee12b2222..8af0d07d7df2 100644 --- a/sys-devel/lld/lld-16.0.0.9999.ebuild +++ b/sys-devel/lld/lld-16.0.0_pre20221010-r1.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="The LLVM linker (link editor)" HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0/${LLVM_SOABI}" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" KEYWORDS="" IUSE="debug test zstd" RESTRICT="!test? ( test )" @@ -21,15 +21,16 @@ DEPEND=" " RDEPEND=" ${DEPEND} + !sys-devel/lld:0 " BDEPEND=" test? ( >=dev-util/cmake-3.16 - $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") + $(python_gen_any_dep ">=dev-python/lit-${PV}[\${PYTHON_USEDEP}]") ) " PDEPEND=" - sys-devel/lld-toolchain-symlinks:${LLVM_MAJOR} + >=sys-devel/lld-toolchain-symlinks-16-r2:${LLVM_MAJOR} " LLVM_COMPONENTS=( lld cmake libunwind/include/mach-o ) @@ -37,7 +38,7 @@ LLVM_TEST_COMPONENTS=( llvm/utils/{lit,unittest} ) llvm.org_set_globals python_check_deps() { - python_has_version "~dev-python/lit-${PV}[${PYTHON_USEDEP}]" + python_has_version ">=dev-python/lit-${PV}[${PYTHON_USEDEP}]" } pkg_setup() { @@ -63,6 +64,7 @@ src_configure() { use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" -DBUILD_SHARED_LIBS=ON -DLLVM_INCLUDE_TESTS=$(usex test) )