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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF9C615813A for ; Mon, 30 Dec 2024 11:35:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20394E0826; Mon, 30 Dec 2024 11:35:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 DEFC4E0826 for ; Mon, 30 Dec 2024 11:35:07 +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 2FEEA335D64 for ; Mon, 30 Dec 2024 11:35:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59A041946 for ; Mon, 30 Dec 2024 11:35:04 +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: <1735558352.0493ab731361510edde65db19ae95cc350fffdc2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/llvm-r2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0493ab731361510edde65db19ae95cc350fffdc2 X-VCS-Branch: master Date: Mon, 30 Dec 2024 11:35:04 +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: 2d3ba761-0b3a-4f62-89ea-5642b34ee872 X-Archives-Hash: d66b689d2eef9bcec4b3b41defa1a298 commit: 0493ab731361510edde65db19ae95cc350fffdc2 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 16 10:40:46 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 30 11:32:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0493ab73 llvm-r2.eclass: Update top-level docs for CBUILD/CHOST support Signed-off-by: Michał Górny gentoo.org> eclass/llvm-r2.eclass | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eclass/llvm-r2.eclass b/eclass/llvm-r2.eclass index e499f9dba38d..3d18f1a0a19c 100644 --- a/eclass/llvm-r2.eclass +++ b/eclass/llvm-r2.eclass @@ -18,12 +18,19 @@ # 2. Use llvm_gen_dep and/or LLVM_USEDEP to add appropriate # dependencies. # -# 3. Use llvm-r2_pkg_setup, get_llvm_prefix or LLVM_SLOT. +# 3. Use llvm-r2_pkg_setup, llvm_chost_setup, llvm_cbuild_setup, +# get_llvm_prefix or LLVM_SLOT. # # The eclass sets IUSE and REQUIRED_USE. The flag corresponding # to the newest supported stable LLVM slot (or the newest testing, # if no stable slots are supported) is enabled by default. # +# Note that the eclass aims for a best-effort support of CHOST builds +# (i.e. compiling/linking against LLVM) and CBUILD use (i.e. calling +# LLVM tools at build time). You need to determine what the package +# in question needs, and put the appropriate packages in DEPEND and/or +# BDEPEND appropriately. +# # Example: # @CODE # LLVM_COMPAT=( {16..18} )