blob: abdcc59bbf5b7e423a846e82de699c5ecda56078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#
# SPDX-Identifier: BSL-1.0
# File: nectar-ptx.jam
# Author: Amlal El Mahrouss,
# Copyright 2026, Amlal El Mahrouss, Licensed under the Boost Software License
#
# Supports the Nectar compiler for PTX.
import toolset ;
if [ MATCH (--debug-configuration) : [ modules.peek : ARGV ] ]
{
.debug-configuration = true ;
}
feature.extend toolset : nectar-ptx ;
action compile-nectar-sources-ptx
{
$(.NECTAR_CC) $(.NECTAR_PTX_FLAGS) $(.NECTAR_PTX_SOURCES)
}
|