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 58A5915802F for ; Sat, 1 Apr 2023 13:32:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95FF8E087A; Sat, 1 Apr 2023 13:32:42 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 80424E087A for ; Sat, 1 Apr 2023 13:32:42 +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 6E8B0340F5A for ; Sat, 1 Apr 2023 13:32:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 693548EB for ; Sat, 1 Apr 2023 13:32:39 +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: <1680355955.b9ec9c5199f8ab0bd49585cf850243170fa081bf.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/llvm/llvm-17.0.0.9999.ebuild sys-devel/llvm/metadata.xml X-VCS-Directories: sys-devel/llvm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b9ec9c5199f8ab0bd49585cf850243170fa081bf X-VCS-Branch: master Date: Sat, 1 Apr 2023 13:32:39 +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: 879b7810-d7a5-442c-b067-8115edf02366 X-Archives-Hash: 362683ced4b4f9b401a8bb9f0d304d6b commit: b9ec9c5199f8ab0bd49585cf850243170fa081bf Author: Michał Górny gentoo org> AuthorDate: Sat Apr 1 06:49:54 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 1 13:32:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ec9c51 sys-devel/llvm: Add dependencies for llvm-debuginfod Signed-off-by: Michał Górny gentoo.org> sys-devel/llvm/llvm-17.0.0.9999.ebuild | 14 +++++++++++--- sys-devel/llvm/metadata.xml | 1 + 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/sys-devel/llvm/llvm-17.0.0.9999.ebuild b/sys-devel/llvm/llvm-17.0.0.9999.ebuild index f7e501b7f98e..94ec3e2b1216 100644 --- a/sys-devel/llvm/llvm-17.0.0.9999.ebuild +++ b/sys-devel/llvm/llvm-17.0.0.9999.ebuild @@ -20,13 +20,17 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" KEYWORDS="" IUSE=" - +binutils-plugin debug doc exegesis libedit +libffi ncurses test xar - xml z3 zstd + +binutils-plugin debug debuginfod doc exegesis libedit +libffi + ncurses test xar xml z3 zstd " RESTRICT="!test? ( test )" RDEPEND=" sys-libs/zlib:0=[${MULTILIB_USEDEP}] + debuginfod? ( + net-misc/curl:= + dev-cpp/cpp-httplib:= + ) exegesis? ( dev-libs/libpfm:= ) libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] ) libffi? ( >=dev-libs/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] ) @@ -245,7 +249,6 @@ get_distribution_components() { llvm-cxxfilt llvm-cxxmap llvm-debuginfo-analyzer - llvm-debuginfod llvm-debuginfod-find llvm-diff llvm-dis @@ -326,6 +329,9 @@ get_distribution_components() { use binutils-plugin && out+=( LLVMgold ) + use debuginfod && out+=( + llvm-debuginfod + ) fi printf "%s${sep}" "${out[@]}" @@ -372,6 +378,8 @@ multilib_src_configure() { -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_Z3_SOLVER=$(usex z3) -DLLVM_ENABLE_ZSTD=$(usex zstd) + -DLLVM_ENABLE_CURL=$(usex debuginfod) + -DLLVM_ENABLE_HTTPLIB=$(usex debuginfod) -DLLVM_HOST_TRIPLE="${CHOST}" diff --git a/sys-devel/llvm/metadata.xml b/sys-devel/llvm/metadata.xml index 084e1821104b..d9ba661926c8 100644 --- a/sys-devel/llvm/metadata.xml +++ b/sys-devel/llvm/metadata.xml @@ -11,6 +11,7 @@ 4. LLVM does not imply things that you would expect from a high-level virtual machine. It does not require garbage collection or run-time code generation (In fact, LLVM makes a great static compiler!). Note that optional LLVM components can be used to build high-level virtual machines and other systems that need these services. Build the binutils plugin + Install llvm-debuginfod (requires net-misc/curl and dev-cpp/cpp-httplib) Build and install the HTML documentation and regenerate the man pages Enable performance counter support for llvm-exegesis tool that can be used to measure host machine instruction characteristics