From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1499161-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 02A6A15A7D9
	for <garchives@archives.gentoo.org>; Tue, 21 Mar 2023 22:41:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 14C36E087E;
	Tue, 21 Mar 2023 22:41:47 +0000 (UTC)
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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id DED7BE087E
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Mar 2023 22:41:46 +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 C910533DDA5
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Mar 2023 22:41:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id EB6FC7F5
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Mar 2023 22:41:43 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1679438497.32b6409942f31a8029d27ae3470d4338a8ae4d5d.sam@gentoo>
Subject: [gentoo-commits] proj/crossdev:master commit in: /
X-VCS-Repository: proj/crossdev
X-VCS-Files: crossdev
X-VCS-Directories: /
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 32b6409942f31a8029d27ae3470d4338a8ae4d5d
X-VCS-Branch: master
Date: Tue, 21 Mar 2023 22:41:43 +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: 54a9bd4e-b7f5-4fef-9c87-d672f0e75278
X-Archives-Hash: 8ecc26a3b0ab3548ae2c280398632b92

commit:     32b6409942f31a8029d27ae3470d4338a8ae4d5d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 22:41:19 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 22:41:37 2023 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=32b64099

crossdev: initial nvptx-none porting

Signed-off-by: Sam James <sam <AT> gentoo.org>

 crossdev | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/crossdev b/crossdev
index 2282826..befce40 100755
--- a/crossdev
+++ b/crossdev
@@ -283,6 +283,12 @@ parse_target() {
 			WITH_DEF_HEADERS="no"
 			;;
 
+		nvptx*)
+			BPKG="nvptx-tools"
+			LPKG="newlib"
+			STAGE_DEFAULT=${STAGE_LIBC}
+			;;
+
 		# due to upstream lameness, build C/C++ at first glance
 		*-cygwin)
 			GUSE_DISABLE_STAGE_1+=" -nocxx cxx"