summaryrefslogtreecommitdiffhomepage
path: root/share/bjam/nectar-ptx.jam
diff options
context:
space:
mode:
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)
+}