From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1474774-garchives=archives.gentoo.org@lists.gentoo.org>
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 0A01915800F
	for <garchives@archives.gentoo.org>; Sat,  7 Jan 2023 13:34:49 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 52363E0825;
	Sat,  7 Jan 2023 13:34:48 +0000 (UTC)
Received: from smtp.gentoo.org (mail.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 3AE07E0825
	for <gentoo-commits@lists.gentoo.org>; Sat,  7 Jan 2023 13:34:48 +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 4CB10340EC8
	for <gentoo-commits@lists.gentoo.org>; Sat,  7 Jan 2023 13:34:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C747C7FF
	for <gentoo-commits@lists.gentoo.org>; Sat,  7 Jan 2023 13:34:45 +0000 (UTC)
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" <chewi@gentoo.org>
Message-ID: <1673098469.5af79da3e8e90a67968227b8c3bcf2f49c3d454f.chewi@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-devel/llvm/llvm-16.0.0.9999.ebuild sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild
X-VCS-Directories: sys-devel/llvm/
X-VCS-Committer: chewi
X-VCS-Committer-Name: James Le Cuirot
X-VCS-Revision: 5af79da3e8e90a67968227b8c3bcf2f49c3d454f
X-VCS-Branch: master
Date: Sat,  7 Jan 2023 13:34:45 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 06ad263f-c0a2-418f-9f63-5cf4a3ce2ce8
X-Archives-Hash: 51ad7ba334725f539dc4b3c748bd0921

commit:     5af79da3e8e90a67968227b8c3bcf2f49c3d454f
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  7 10:56:09 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Jan  7 13:34:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af79da3

sys-devel/llvm: Drop unnecessary cross-compiling aids from V16

I was pleasantly surprised to find that these are no longer needed, as a native
build of llvm-tblgen is now automatically done when cross-compiling.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 sys-devel/llvm/llvm-16.0.0.9999.ebuild        | 10 ----------
 sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild | 10 ----------
 sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild | 10 ----------
 sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild | 10 ----------
 4 files changed, 40 deletions(-)

diff --git a/sys-devel/llvm/llvm-16.0.0.9999.ebuild b/sys-devel/llvm/llvm-16.0.0.9999.ebuild
index 38faaf5b1adf..60cde39577b6 100644
--- a/sys-devel/llvm/llvm-16.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-16.0.0.9999.ebuild
@@ -420,16 +420,6 @@ multilib_src_configure() {
 		)
 	fi
 
-	if tc-is-cross-compiler; then
-		local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen"
-		[[ -x "${tblgen}" ]] \
-			|| die "${tblgen} not found or usable"
-		mycmakeargs+=(
-			-DCMAKE_CROSSCOMPILING=ON
-			-DLLVM_TABLEGEN="${tblgen}"
-		)
-	fi
-
 	# workaround BMI bug in gcc-7 (fixed in 7.4)
 	# https://bugs.gentoo.org/649880
 	# apply only to x86, https://bugs.gentoo.org/650506

diff --git a/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild b/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild
index 9a91d21695fd..68c8e75e5b31 100644
--- a/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild
+++ b/sys-devel/llvm/llvm-16.0.0_pre20221217.ebuild
@@ -420,16 +420,6 @@ multilib_src_configure() {
 		)
 	fi
 
-	if tc-is-cross-compiler; then
-		local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen"
-		[[ -x "${tblgen}" ]] \
-			|| die "${tblgen} not found or usable"
-		mycmakeargs+=(
-			-DCMAKE_CROSSCOMPILING=ON
-			-DLLVM_TABLEGEN="${tblgen}"
-		)
-	fi
-
 	# workaround BMI bug in gcc-7 (fixed in 7.4)
 	# https://bugs.gentoo.org/649880
 	# apply only to x86, https://bugs.gentoo.org/650506

diff --git a/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild b/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild
index 9a91d21695fd..68c8e75e5b31 100644
--- a/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild
+++ b/sys-devel/llvm/llvm-16.0.0_pre20221226.ebuild
@@ -420,16 +420,6 @@ multilib_src_configure() {
 		)
 	fi
 
-	if tc-is-cross-compiler; then
-		local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen"
-		[[ -x "${tblgen}" ]] \
-			|| die "${tblgen} not found or usable"
-		mycmakeargs+=(
-			-DCMAKE_CROSSCOMPILING=ON
-			-DLLVM_TABLEGEN="${tblgen}"
-		)
-	fi
-
 	# workaround BMI bug in gcc-7 (fixed in 7.4)
 	# https://bugs.gentoo.org/649880
 	# apply only to x86, https://bugs.gentoo.org/650506

diff --git a/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild b/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild
index 4798e7ef1858..5b6c7934d02c 100644
--- a/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild
+++ b/sys-devel/llvm/llvm-16.0.0_pre20230101.ebuild
@@ -420,16 +420,6 @@ multilib_src_configure() {
 		)
 	fi
 
-	if tc-is-cross-compiler; then
-		local tblgen="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen"
-		[[ -x "${tblgen}" ]] \
-			|| die "${tblgen} not found or usable"
-		mycmakeargs+=(
-			-DCMAKE_CROSSCOMPILING=ON
-			-DLLVM_TABLEGEN="${tblgen}"
-		)
-	fi
-
 	# workaround BMI bug in gcc-7 (fixed in 7.4)
 	# https://bugs.gentoo.org/649880
 	# apply only to x86, https://bugs.gentoo.org/650506