From ad6876f096f5806260f98728cf8e02ce362e97b0 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 12 Mar 2026 07:43:26 +0100 Subject: [FEAT] Boost.Jam additions. Signed-off-by: Amlal El Mahrouss --- share/bjam/nectar-amd64.jam | 23 +++++++++++++++++++++++ share/bjam/nectar-ptx.jam | 14 +++++++++----- 2 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 share/bjam/nectar-amd64.jam 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) +} -- cgit v1.2.3