diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-12 07:43:26 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-12 07:43:26 +0100 |
| commit | ad6876f096f5806260f98728cf8e02ce362e97b0 (patch) | |
| tree | acd094ec819ada738961c6255dbc13f185035752 /share | |
| parent | a076d1184c8c807e216af35dabb47aac99525953 (diff) | |
[FEAT] Boost.Jam additions.bjam-additions
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'share')
| -rw-r--r-- | share/bjam/nectar-amd64.jam | 23 | ||||
| -rw-r--r-- | share/bjam/nectar-ptx.jam | 14 |
2 files changed, 32 insertions, 5 deletions
diff --git a/share/bjam/nectar-amd64.jam b/share/bjam/nectar-amd64.jam new file mode 100644 index 0000000..aad7e4f --- /dev/null +++ b/share/bjam/nectar-amd64.jam @@ -0,0 +1,23 @@ +# +# SPDX-Identifier: BSL-1.0 +# File: nectar-amd64.jam +# Author: Amlal El Mahrouss, +# Copyright 2026, Amlal El Mahrouss, Licensed under the Boost Software License +# + +# Supports the Nectar compiler for AMD64. + +import toolset ; + +if [ MATCH (--debug-configuration) : [ modules.peek : ARGV ] ] +{ + .debug-configuration = true ; +} + +feature.extend toolset : nectar-amd64 ; + +action compile-nectar-sources-amd64 +{ + $(.NECTAR_CC) $(.NECTAR_AMD64_FLAGS) $(.NECTAR_AMD64_SOURCES) +} + 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) +} |
