[boost-build] Support nvc++ (#34072)

* [boost-build] Support nvc++

Add support for nvc++ as CXX compiler when building boost, by specifying `toolset pgi` when invoking b2.

Related discussion: https://github.com/bfgroup/b2/issues/215

Fixes: #34068

* Update boost-modular-build-helper.json

---------

Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
This commit is contained in:
Bernhard Manfred Gruber 2023-09-29 07:55:29 +02:00 committed by GitHub
parent 0fa73de34b
commit 584dbaa118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 1 deletions

View File

@ -71,6 +71,8 @@ elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "wasm32")
set(USER_CONFIG_TOOLSET emscripten)
elseif(VCPKG_DETECTED_CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(USER_CONFIG_TOOLSET clang)
elseif(VCPKG_DETECTED_CMAKE_CXX_COMPILER_ID MATCHES "NVHPC")
set(USER_CONFIG_TOOLSET pgi)
else()
set(USER_CONFIG_TOOLSET gcc)
endif()

View File

@ -2,6 +2,7 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-modular-build-helper",
"version": "1.83.0",
"port-version": 1,
"description": "Internal vcpkg port used to build Boost libraries",
"license": "MIT",
"dependencies": [

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "95d209e069cf1a82d48fa32cef7a7c39edc33c22",
"version": "1.83.0",
"port-version": 1
},
{
"git-tree": "843c4331dc1453c80f99e25be4513c99074c5cf2",
"version": "1.83.0",

View File

@ -966,7 +966,7 @@
},
"boost-modular-build-helper": {
"baseline": "1.83.0",
"port-version": 0
"port-version": 1
},
"boost-move": {
"baseline": "1.83.0",