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 E8EAF158094 for ; Sat, 8 Oct 2022 09:36:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DD00E0A5B; Sat, 8 Oct 2022 09:36:44 +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 28362E0A5B for ; Sat, 8 Oct 2022 09:36:44 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 350D133FEB6 for ; Sat, 8 Oct 2022 09:36:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CF1E605 for ; Sat, 8 Oct 2022 09:36:41 +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: <1665221774.9684c6f55dac92d5d17946563c861f87b6ce576b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang-common/clang-common-15.0.2.9999.ebuild sys-devel/clang-common/clang-common-15.0.2.ebuild sys-devel/clang-common/clang-common-16.0.0.9999.ebuild sys-devel/clang-common/clang-common-16.0.0_pre20221006.ebuild X-VCS-Directories: sys-devel/clang-common/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9684c6f55dac92d5d17946563c861f87b6ce576b X-VCS-Branch: master Date: Sat, 8 Oct 2022 09:36:41 +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: fd172ff5-6f9e-413e-a545-8f923eea79f4 X-Archives-Hash: e00be732ab2b6176019ffdbd6762977e commit: 9684c6f55dac92d5d17946563c861f87b6ce576b Author: Michał Górny gentoo org> AuthorDate: Sat Oct 8 09:26:57 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Oct 8 09:36:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9684c6f5 sys-devel/clang-common: Depend on compiler-rt via clang-runtime Depend on sys-devel/clang-runtime[compiler-rt] rather than on sys-libs/compiler-rt directly. Since compiler-rt is slotted while sys-devel/clang-common is not, it is impossible to guarantee that a compiler-rt version matching all installed sys-devel/clang versions will be installed. While depending on clang-runtime does not strictly solve this either, enforcing a USE dependency has a good chance of having the user enable USE=compiler-rt on all versions of clang-runtime, and then clang-runtime dep in sys-devel/clang will enforce the correct compiler-rt version. Signed-off-by: Michał Górny gentoo.org> sys-devel/clang-common/clang-common-15.0.2.9999.ebuild | 2 +- sys-devel/clang-common/clang-common-15.0.2.ebuild | 2 +- sys-devel/clang-common/clang-common-16.0.0.9999.ebuild | 2 +- sys-devel/clang-common/clang-common-16.0.0_pre20221006.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys-devel/clang-common/clang-common-15.0.2.9999.ebuild b/sys-devel/clang-common/clang-common-15.0.2.9999.ebuild index 617e3159ca14..e318815568c5 100644 --- a/sys-devel/clang-common/clang-common-15.0.2.9999.ebuild +++ b/sys-devel/clang-common/clang-common-15.0.2.9999.ebuild @@ -16,7 +16,7 @@ IUSE="default-compiler-rt default-libcxx default-lld llvm-libunwind" PDEPEND=" sys-devel/clang:* default-compiler-rt? ( - =sys-libs/compiler-rt-${LLVM_VERSION}* + sys-devel/clang-runtime[compiler-rt] llvm-libunwind? ( sys-libs/llvm-libunwind ) !llvm-libunwind? ( sys-libs/libunwind ) ) diff --git a/sys-devel/clang-common/clang-common-15.0.2.ebuild b/sys-devel/clang-common/clang-common-15.0.2.ebuild index a8fa6ec6070f..71e8aa15b6d8 100644 --- a/sys-devel/clang-common/clang-common-15.0.2.ebuild +++ b/sys-devel/clang-common/clang-common-15.0.2.ebuild @@ -16,7 +16,7 @@ IUSE="default-compiler-rt default-libcxx default-lld llvm-libunwind" PDEPEND=" sys-devel/clang:* default-compiler-rt? ( - =sys-libs/compiler-rt-${PV%_*}* + sys-devel/clang-runtime[compiler-rt] llvm-libunwind? ( sys-libs/llvm-libunwind ) !llvm-libunwind? ( sys-libs/libunwind ) ) diff --git a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild index 617e3159ca14..e318815568c5 100644 --- a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild +++ b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild @@ -16,7 +16,7 @@ IUSE="default-compiler-rt default-libcxx default-lld llvm-libunwind" PDEPEND=" sys-devel/clang:* default-compiler-rt? ( - =sys-libs/compiler-rt-${LLVM_VERSION}* + sys-devel/clang-runtime[compiler-rt] llvm-libunwind? ( sys-libs/llvm-libunwind ) !llvm-libunwind? ( sys-libs/libunwind ) ) diff --git a/sys-devel/clang-common/clang-common-16.0.0_pre20221006.ebuild b/sys-devel/clang-common/clang-common-16.0.0_pre20221006.ebuild index 617e3159ca14..e318815568c5 100644 --- a/sys-devel/clang-common/clang-common-16.0.0_pre20221006.ebuild +++ b/sys-devel/clang-common/clang-common-16.0.0_pre20221006.ebuild @@ -16,7 +16,7 @@ IUSE="default-compiler-rt default-libcxx default-lld llvm-libunwind" PDEPEND=" sys-devel/clang:* default-compiler-rt? ( - =sys-libs/compiler-rt-${LLVM_VERSION}* + sys-devel/clang-runtime[compiler-rt] llvm-libunwind? ( sys-libs/llvm-libunwind ) !llvm-libunwind? ( sys-libs/libunwind ) )