diff options
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) +} |
