mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 09:23:03 +08:00
[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:
parent
0fa73de34b
commit
584dbaa118
@ -71,6 +71,8 @@ elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "wasm32")
|
|||||||
set(USER_CONFIG_TOOLSET emscripten)
|
set(USER_CONFIG_TOOLSET emscripten)
|
||||||
elseif(VCPKG_DETECTED_CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
elseif(VCPKG_DETECTED_CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
set(USER_CONFIG_TOOLSET clang)
|
set(USER_CONFIG_TOOLSET clang)
|
||||||
|
elseif(VCPKG_DETECTED_CMAKE_CXX_COMPILER_ID MATCHES "NVHPC")
|
||||||
|
set(USER_CONFIG_TOOLSET pgi)
|
||||||
else()
|
else()
|
||||||
set(USER_CONFIG_TOOLSET gcc)
|
set(USER_CONFIG_TOOLSET gcc)
|
||||||
endif()
|
endif()
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
|
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
|
||||||
"name": "boost-modular-build-helper",
|
"name": "boost-modular-build-helper",
|
||||||
"version": "1.83.0",
|
"version": "1.83.0",
|
||||||
|
"port-version": 1,
|
||||||
"description": "Internal vcpkg port used to build Boost libraries",
|
"description": "Internal vcpkg port used to build Boost libraries",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "95d209e069cf1a82d48fa32cef7a7c39edc33c22",
|
||||||
|
"version": "1.83.0",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "843c4331dc1453c80f99e25be4513c99074c5cf2",
|
"git-tree": "843c4331dc1453c80f99e25be4513c99074c5cf2",
|
||||||
"version": "1.83.0",
|
"version": "1.83.0",
|
||||||
|
@ -966,7 +966,7 @@
|
|||||||
},
|
},
|
||||||
"boost-modular-build-helper": {
|
"boost-modular-build-helper": {
|
||||||
"baseline": "1.83.0",
|
"baseline": "1.83.0",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"boost-move": {
|
"boost-move": {
|
||||||
"baseline": "1.83.0",
|
"baseline": "1.83.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user