[gentoo-commits] repo/gentoo:master commit in: sys-devel/nvptx-tools/

2024-11-30 Thread Sam James
commit: e948199365218d1a932c383f669cd8cf2d6029da
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 30 22:51:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 30 22:51:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9481993

sys-devel/nvptx-tools: sync live

It's confusing if it has an old snapshot commit.

Signed-off-by: Sam James  gentoo.org>

 sys-devel/nvptx-tools/nvptx-tools-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/nvptx-tools/nvptx-tools-.ebuild 
b/sys-devel/nvptx-tools/nvptx-tools-.ebuild
index 7890035ee4e1..b6308a59af98 100644
--- a/sys-devel/nvptx-tools/nvptx-tools-.ebuild
+++ b/sys-devel/nvptx-tools/nvptx-tools-.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
EGIT_REPO_URI="https://github.com/SourceryTools/nvptx-tools";
inherit git-r3
 else
-   MY_COMMIT="93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b"
+   MY_COMMIT="a0c1fff6534a4df9fb17937c3c4a4b1071212029"

SRC_URI="https://github.com/SourceryTools/nvptx-tools/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${MY_COMMIT}
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/nvptx-tools/

2024-11-30 Thread Sam James
commit: c2ede890e955fc2fc219f7942f611b293334b8f3
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 30 14:54:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 30 14:54:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ede890

sys-devel/nvptx-tools: update HOMEPAGE

Signed-off-by: Sam James  gentoo.org>

 sys-devel/nvptx-tools/nvptx-tools-0_pre20240809.ebuild | 2 +-
 sys-devel/nvptx-tools/nvptx-tools-.ebuild  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-devel/nvptx-tools/nvptx-tools-0_pre20240809.ebuild 
b/sys-devel/nvptx-tools/nvptx-tools-0_pre20240809.ebuild
index e76b4259f828..b6308a59af98 100644
--- a/sys-devel/nvptx-tools/nvptx-tools-0_pre20240809.ebuild
+++ b/sys-devel/nvptx-tools/nvptx-tools-0_pre20240809.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DESCRIPTION="Collection of tools for use with nvptx-none GCC toolchains"
-HOMEPAGE="https://github.com/SourceryTools/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx";
+HOMEPAGE="https://github.com/SourceryTools/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx https://gcc.gnu.org/wiki/Offloading";
 
 if [[ ${PV} ==  ]] ; then
EGIT_REPO_URI="https://github.com/SourceryTools/nvptx-tools";

diff --git a/sys-devel/nvptx-tools/nvptx-tools-.ebuild 
b/sys-devel/nvptx-tools/nvptx-tools-.ebuild
index a73728161032..7890035ee4e1 100644
--- a/sys-devel/nvptx-tools/nvptx-tools-.ebuild
+++ b/sys-devel/nvptx-tools/nvptx-tools-.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DESCRIPTION="Collection of tools for use with nvptx-none GCC toolchains"
-HOMEPAGE="https://github.com/SourceryTools/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx";
+HOMEPAGE="https://github.com/SourceryTools/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx https://gcc.gnu.org/wiki/Offloading";
 
 if [[ ${PV} ==  ]] ; then
EGIT_REPO_URI="https://github.com/SourceryTools/nvptx-tools";



[gentoo-commits] repo/gentoo:master commit in: sys-devel/nvptx-tools/

2024-11-30 Thread Sam James
commit: 1f8f0ac7477d16a57b52c251185263793c79995a
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 30 14:46:50 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 30 14:46:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f8f0ac7

sys-devel/nvptx-tools: drop 0_pre20230122

Signed-off-by: Sam James  gentoo.org>

 sys-devel/nvptx-tools/Manifest |  1 -
 .../nvptx-tools/nvptx-tools-0_pre20230122.ebuild   | 52 --
 2 files changed, 53 deletions(-)

diff --git a/sys-devel/nvptx-tools/Manifest b/sys-devel/nvptx-tools/Manifest
index f8dce9415e1a..ecd3230d16fa 100644
--- a/sys-devel/nvptx-tools/Manifest
+++ b/sys-devel/nvptx-tools/Manifest
@@ -1,2 +1 @@
-DIST nvptx-tools-0_pre20230122.tar.gz 789116 BLAKE2B 
f05b922827c0215a2484c4f91f3424ca866bb91435a3d60559fc9f1f63c06559377f1c8071c9e8e5607ec4dbff1c22d095385ac86d35f43ade29d9df6699f3ff
 SHA512 
9d3bceef2ef7942ea6ec8b6c6b1b9144f0a020bfabc2583ba4ef73db8ef299ffadbc6dbe27748c728bd16aee0ecd6f0fbe1f8bb064bde986bb4e0475b2494870
 DIST nvptx-tools-0_pre20240809.tar.gz 994915 BLAKE2B 
eef94a55d4ec48fb3031e20d5722e4f0564e7ed5ddc217a0b88d15236d9c15bbd60d14ab537e3535c40e800d75578c21833c6f414bdf11f0fed6f7eb3721478a
 SHA512 
b98ee6f045ec820d056ce7cf4af4d3dcabdd0e77d15f02a88dd3e7f60de6ec32ecb454787f1ef626e358cde7744c5635f8d2e8ff78b46a714f627a37ac256ddb

diff --git a/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild 
b/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild
deleted file mode 100644
index a73728161032..
--- a/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Collection of tools for use with nvptx-none GCC toolchains"
-HOMEPAGE="https://github.com/SourceryTools/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx";
-
-if [[ ${PV} ==  ]] ; then
-   EGIT_REPO_URI="https://github.com/SourceryTools/nvptx-tools";
-   inherit git-r3
-else
-   MY_COMMIT="93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b"
-   
SRC_URI="https://github.com/SourceryTools/nvptx-tools/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   S="${WORKDIR}"/${PN}-${MY_COMMIT}
-
-   KEYWORDS="~amd64"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-   if [[ ${CATEGORY} == cross-* ]] ; then
-   export CTARGET=${CATEGORY#cross-}
-   fi
-fi
-
-BDEPEND="
-   test? (
-   dev-python/lit
-   dev-util/dejagnu
-   )
-"
-
-is_crosscompile() {
-   [[ ${CHOST} != ${CTARGET} ]]
-}
-
-pkg_setup() {
-   # Reject newlib-on-glibc type installs
-   if [[ ${CTARGET} == ${CHOST} ]] ; then
-   case ${CHOST} in
-   *-newlib|nvptx-*) ;;
-   *) die "Use sys-devel/crossdev to build a nvptx(-none) 
toolchain" ;;
-   esac
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/nvptx-tools/

2024-11-29 Thread Sam James
commit: 7c053ac40241806d3cdb2e367368c8b66cda447e
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 29 21:59:46 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 29 21:59:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c053ac4

sys-devel/nvptx-tools: add 0_pre20240809

Bug: https://bugs.gentoo.org/945296
Signed-off-by: Sam James  gentoo.org>

 sys-devel/nvptx-tools/Manifest |  1 +
 .../nvptx-tools/nvptx-tools-0_pre20240809.ebuild   | 52 ++
 2 files changed, 53 insertions(+)

diff --git a/sys-devel/nvptx-tools/Manifest b/sys-devel/nvptx-tools/Manifest
index 59a28d80175c..f8dce9415e1a 100644
--- a/sys-devel/nvptx-tools/Manifest
+++ b/sys-devel/nvptx-tools/Manifest
@@ -1 +1,2 @@
 DIST nvptx-tools-0_pre20230122.tar.gz 789116 BLAKE2B 
f05b922827c0215a2484c4f91f3424ca866bb91435a3d60559fc9f1f63c06559377f1c8071c9e8e5607ec4dbff1c22d095385ac86d35f43ade29d9df6699f3ff
 SHA512 
9d3bceef2ef7942ea6ec8b6c6b1b9144f0a020bfabc2583ba4ef73db8ef299ffadbc6dbe27748c728bd16aee0ecd6f0fbe1f8bb064bde986bb4e0475b2494870
+DIST nvptx-tools-0_pre20240809.tar.gz 994915 BLAKE2B 
eef94a55d4ec48fb3031e20d5722e4f0564e7ed5ddc217a0b88d15236d9c15bbd60d14ab537e3535c40e800d75578c21833c6f414bdf11f0fed6f7eb3721478a
 SHA512 
b98ee6f045ec820d056ce7cf4af4d3dcabdd0e77d15f02a88dd3e7f60de6ec32ecb454787f1ef626e358cde7744c5635f8d2e8ff78b46a714f627a37ac256ddb

diff --git a/sys-devel/nvptx-tools/nvptx-tools-0_pre20240809.ebuild 
b/sys-devel/nvptx-tools/nvptx-tools-0_pre20240809.ebuild
new file mode 100644
index ..e76b4259f828
--- /dev/null
+++ b/sys-devel/nvptx-tools/nvptx-tools-0_pre20240809.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Collection of tools for use with nvptx-none GCC toolchains"
+HOMEPAGE="https://github.com/SourceryTools/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx";
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://github.com/SourceryTools/nvptx-tools";
+   inherit git-r3
+else
+   MY_COMMIT="a0c1fff6534a4df9fb17937c3c4a4b1071212029"
+   
SRC_URI="https://github.com/SourceryTools/nvptx-tools/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+
+BDEPEND="
+   test? (
+   dev-python/lit
+   dev-util/dejagnu
+   )
+"
+
+is_crosscompile() {
+   [[ ${CHOST} != ${CTARGET} ]]
+}
+
+pkg_setup() {
+   # Reject newlib-on-glibc type installs
+   if [[ ${CTARGET} == ${CHOST} ]] ; then
+   case ${CHOST} in
+   *-newlib|nvptx-*) ;;
+   *) die "Use sys-devel/crossdev to build a nvptx(-none) 
toolchain" ;;
+   esac
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/nvptx-tools/

2023-12-15 Thread Sam James
commit: 617e879623be5e971985221fb0fdf662f4485b87
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 15 08:30:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 15 08:30:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=617e8796

sys-devel/nvptx-tools: adapt to gh org rename

See https://inbox.sourceware.org/gcc-patches/20231215082234.421EE33E93  
hamza.pair.com/T/#u.

Signed-off-by: Sam James  gentoo.org>

 sys-devel/nvptx-tools/metadata.xml | 2 +-
 sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild | 6 +++---
 sys-devel/nvptx-tools/nvptx-tools-.ebuild  | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sys-devel/nvptx-tools/metadata.xml 
b/sys-devel/nvptx-tools/metadata.xml
index 6b28014927dc..26ea6434862c 100644
--- a/sys-devel/nvptx-tools/metadata.xml
+++ b/sys-devel/nvptx-tools/metadata.xml
@@ -6,6 +6,6 @@
Gentoo Toolchain Project


-   MentorEmbedded/nvptx-tools
+   SourceryTools/nvptx-tools

 

diff --git a/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild 
b/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild
index e960beb57623..a73728161032 100644
--- a/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild
+++ b/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild
@@ -4,14 +4,14 @@
 EAPI=8
 
 DESCRIPTION="Collection of tools for use with nvptx-none GCC toolchains"
-HOMEPAGE="https://github.com/MentorEmbedded/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx";
+HOMEPAGE="https://github.com/SourceryTools/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx";
 
 if [[ ${PV} ==  ]] ; then
-   EGIT_REPO_URI="https://github.com/MentorEmbedded/nvptx-tools";
+   EGIT_REPO_URI="https://github.com/SourceryTools/nvptx-tools";
inherit git-r3
 else
MY_COMMIT="93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b"
-   
SRC_URI="https://github.com/MentorEmbedded/nvptx-tools/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   
SRC_URI="https://github.com/SourceryTools/nvptx-tools/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${MY_COMMIT}
 
KEYWORDS="~amd64"

diff --git a/sys-devel/nvptx-tools/nvptx-tools-.ebuild 
b/sys-devel/nvptx-tools/nvptx-tools-.ebuild
index e960beb57623..a73728161032 100644
--- a/sys-devel/nvptx-tools/nvptx-tools-.ebuild
+++ b/sys-devel/nvptx-tools/nvptx-tools-.ebuild
@@ -4,14 +4,14 @@
 EAPI=8
 
 DESCRIPTION="Collection of tools for use with nvptx-none GCC toolchains"
-HOMEPAGE="https://github.com/MentorEmbedded/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx";
+HOMEPAGE="https://github.com/SourceryTools/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx";
 
 if [[ ${PV} ==  ]] ; then
-   EGIT_REPO_URI="https://github.com/MentorEmbedded/nvptx-tools";
+   EGIT_REPO_URI="https://github.com/SourceryTools/nvptx-tools";
inherit git-r3
 else
MY_COMMIT="93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b"
-   
SRC_URI="https://github.com/MentorEmbedded/nvptx-tools/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   
SRC_URI="https://github.com/SourceryTools/nvptx-tools/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${MY_COMMIT}
 
KEYWORDS="~amd64"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/nvptx-tools/

2023-03-21 Thread Sam James
commit: 4d0d76476bde5a08db199972c9137b796afb5f3e
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 21 21:38:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 21 21:39:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d0d7647

sys-devel/nvptx-tools: fix S for snapshot

Signed-off-by: Sam James  gentoo.org>

 sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild | 4 +++-
 sys-devel/nvptx-tools/nvptx-tools-.ebuild  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild 
b/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild
index 2a22f615690d..e960beb57623 100644
--- a/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild
+++ b/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,6 +12,8 @@ if [[ ${PV} ==  ]] ; then
 else
MY_COMMIT="93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b"

SRC_URI="https://github.com/MentorEmbedded/nvptx-tools/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+
KEYWORDS="~amd64"
 fi
 

diff --git a/sys-devel/nvptx-tools/nvptx-tools-.ebuild 
b/sys-devel/nvptx-tools/nvptx-tools-.ebuild
index 2a22f615690d..e960beb57623 100644
--- a/sys-devel/nvptx-tools/nvptx-tools-.ebuild
+++ b/sys-devel/nvptx-tools/nvptx-tools-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,6 +12,8 @@ if [[ ${PV} ==  ]] ; then
 else
MY_COMMIT="93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b"

SRC_URI="https://github.com/MentorEmbedded/nvptx-tools/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   S="${WORKDIR}"/${PN}-${MY_COMMIT}
+
KEYWORDS="~amd64"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/nvptx-tools/, profiles/

2023-03-21 Thread Sam James
commit: d52cacc4eefc5109d24a36d7e1dd4677c0fb5159
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 21 21:24:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 21 21:28:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d52cacc4

sys-devel/nvptx-tools: new package, add , add 0_pre20230122

Signed-off-by: Sam James  gentoo.org>

 profiles/package.mask  |  1 +
 sys-devel/nvptx-tools/Manifest |  1 +
 sys-devel/nvptx-tools/metadata.xml | 11 +
 .../nvptx-tools/nvptx-tools-0_pre20230122.ebuild   | 50 ++
 sys-devel/nvptx-tools/nvptx-tools-.ebuild  | 50 ++
 5 files changed, 113 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index 498a7d9c69dd..a857b96228b8 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -612,3 +612,4 @@ www-plugins/chrome-binary-plugins:unstable
 dev-util/mingw64-runtime
 sys-libs/newlib
 dev-embedded/avr-libc
+sys-devel/nvptx-tools

diff --git a/sys-devel/nvptx-tools/Manifest b/sys-devel/nvptx-tools/Manifest
new file mode 100644
index ..59a28d80175c
--- /dev/null
+++ b/sys-devel/nvptx-tools/Manifest
@@ -0,0 +1 @@
+DIST nvptx-tools-0_pre20230122.tar.gz 789116 BLAKE2B 
f05b922827c0215a2484c4f91f3424ca866bb91435a3d60559fc9f1f63c06559377f1c8071c9e8e5607ec4dbff1c22d095385ac86d35f43ade29d9df6699f3ff
 SHA512 
9d3bceef2ef7942ea6ec8b6c6b1b9144f0a020bfabc2583ba4ef73db8ef299ffadbc6dbe27748c728bd16aee0ecd6f0fbe1f8bb064bde986bb4e0475b2494870

diff --git a/sys-devel/nvptx-tools/metadata.xml 
b/sys-devel/nvptx-tools/metadata.xml
new file mode 100644
index ..6b28014927dc
--- /dev/null
+++ b/sys-devel/nvptx-tools/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   toolch...@gentoo.org
+   Gentoo Toolchain Project
+   
+   
+   MentorEmbedded/nvptx-tools
+   
+

diff --git a/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild 
b/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild
new file mode 100644
index ..2a22f615690d
--- /dev/null
+++ b/sys-devel/nvptx-tools/nvptx-tools-0_pre20230122.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Collection of tools for use with nvptx-none GCC toolchains"
+HOMEPAGE="https://github.com/MentorEmbedded/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx";
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://github.com/MentorEmbedded/nvptx-tools";
+   inherit git-r3
+else
+   MY_COMMIT="93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b"
+   
SRC_URI="https://github.com/MentorEmbedded/nvptx-tools/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+
+BDEPEND="
+   test? (
+   dev-python/lit
+   dev-util/dejagnu
+   )
+"
+
+is_crosscompile() {
+   [[ ${CHOST} != ${CTARGET} ]]
+}
+
+pkg_setup() {
+   # Reject newlib-on-glibc type installs
+   if [[ ${CTARGET} == ${CHOST} ]] ; then
+   case ${CHOST} in
+   *-newlib|nvptx-*) ;;
+   *) die "Use sys-devel/crossdev to build a nvptx(-none) 
toolchain" ;;
+   esac
+   fi
+}

diff --git a/sys-devel/nvptx-tools/nvptx-tools-.ebuild 
b/sys-devel/nvptx-tools/nvptx-tools-.ebuild
new file mode 100644
index ..2a22f615690d
--- /dev/null
+++ b/sys-devel/nvptx-tools/nvptx-tools-.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Collection of tools for use with nvptx-none GCC toolchains"
+HOMEPAGE="https://github.com/MentorEmbedded/nvptx-tools 
https://gcc.gnu.org/wiki/nvptx";
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://github.com/MentorEmbedded/nvptx-tools";
+   inherit git-r3
+else
+   MY_COMMIT="93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b"
+   
SRC_URI="https://github.com/MentorEmbedded/nvptx-tools/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+
+BDEPEND="
+   test? (
+   dev-python/lit
+   dev-util/dejagnu
+   )
+"
+
+is_crosscompile() {
+   [[ ${CHOST} != ${C