From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 47DBD1581EE for ; Sun, 23 Mar 2025 03:10:04 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 35B25343360 for ; Sun, 23 Mar 2025 03:10:04 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 784081104AD; Sun, 23 Mar 2025 03:10:00 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 6E56A1104AD for ; Sun, 23 Mar 2025 03:10:00 +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 2609934069F for ; Sun, 23 Mar 2025 03:10:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 837132835 for ; Sun, 23 Mar 2025 03:09:58 +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: <1742697872.adec6f96d8cc3a08ccef5ca4325ba9ce942b5256.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/ X-VCS-Repository: repo/gentoo X-VCS-Files: llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild X-VCS-Directories: llvm-core/clang-runtime/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: adec6f96d8cc3a08ccef5ca4325ba9ce942b5256 X-VCS-Branch: master Date: Sun, 23 Mar 2025 03:09:58 +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: 4b0b279c-98d8-4fb3-96cb-cb08e61a2730 X-Archives-Hash: 88ead1e32f9195b2edc83d2955c8fd8e commit: adec6f96d8cc3a08ccef5ca4325ba9ce942b5256 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 23 02:44:32 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Mar 23 02:44:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adec6f96 llvm-core/clang-runtime: Add USE=polly to 20.1.1 Closes: https://bugs.gentoo.org/715612 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild index 2168a04b6406..b60f249215d0 100644 --- a/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild @@ -14,7 +14,7 @@ SLOT="${PV%%.*}" KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE=" +compiler-rt libcxx offload openmp +sanitize - default-compiler-rt default-libcxx default-lld llvm-libunwind + default-compiler-rt default-libcxx default-lld llvm-libunwind polly " REQUIRED_USE=" sanitize? ( compiler-rt ) @@ -46,6 +46,7 @@ RDEPEND=" !default-libcxx? ( sys-devel/gcc ) default-lld? ( ~llvm-core/lld-${PV} ) !default-lld? ( sys-devel/binutils ) + polly? ( ~llvm-core/polly-${PV} ) " _doclang_cfg() { @@ -119,6 +120,12 @@ src_install() { newins - gentoo-plugins.cfg <<-EOF # This file is used to load optional LLVM plugins. EOF + if use polly; then + cat >> "${ED}/etc/clang/${SLOT}/gentoo-plugins.cfg" <<-EOF || die + -fpass-plugin=LLVMPolly.so + -fplugin=LLVMPolly.so + EOF + fi multilib_foreach_abi doclang_cfg }