summaryrefslogtreecommitdiffhomepage
path: root/share/bjam/nectar-ptx.jam
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-12 07:45:44 +0100
committerGitHub <noreply@github.com>2026-03-12 07:45:44 +0100
commit9792287fddc2fc9f47c71b3f9fd69933c9010275 (patch)
treeacd094ec819ada738961c6255dbc13f185035752 /share/bjam/nectar-ptx.jam
parenta076d1184c8c807e216af35dabb47aac99525953 (diff)
parentad6876f096f5806260f98728cf8e02ce362e97b0 (diff)
Merge pull request #72 from ne-foss-org/bjam-additions
[FEAT] Boost.Jam additions.
Diffstat (limited to 'share/bjam/nectar-ptx.jam')
-rw-r--r--share/bjam/nectar-ptx.jam14
1 files changed, 9 insertions, 5 deletions
diff --git a/share/bjam/nectar-ptx.jam b/share/bjam/nectar-ptx.jam
index bacc607..abdcc59 100644
--- a/share/bjam/nectar-ptx.jam
+++ b/share/bjam/nectar-ptx.jam
@@ -1,7 +1,8 @@
-#
-# File: nectar.jam
+#
+# SPDX-Identifier: BSL-1.0
+# File: nectar-ptx.jam
# Author: Amlal El Mahrouss,
-# Copyright 2025, Amlal El Mahrouss, Licensed under the Boost Software License
+# Copyright 2026, Amlal El Mahrouss, Licensed under the Boost Software License
#
# Supports the Nectar compiler for PTX.
@@ -13,7 +14,10 @@ if [ MATCH (--debug-configuration) : [ modules.peek : ARGV ] ]
.debug-configuration = true ;
}
-feature.extend toolset : ptx-necdrv ;
-
+feature.extend toolset : nectar-ptx ;
+action compile-nectar-sources-ptx
+{
+ $(.NECTAR_CC) $(.NECTAR_PTX_FLAGS) $(.NECTAR_PTX_SOURCES)
+}