diff options
| author | Andrei Lebedev <lebdron@gmail.com> | 2021-01-22 19:37:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-22 10:37:26 -0800 |
| commit | 83b8e27b95e0117a80fe5e2e4749ecaede098fa0 (patch) | |
| tree | 20bf19eea3665ccefe712d2c3592a4626d1a8843 /ports | |
| parent | 34a9432e2ba94bb4aa9bbbeb2a92aa3c0b1717a0 (diff) | |
| download | vcpkg-83b8e27b95e0117a80fe5e2e4749ecaede098fa0.tar.gz vcpkg-83b8e27b95e0117a80fe5e2e4749ecaede098fa0.zip | |
[vcpkg,boost-modular-build-helper] initial ppc64le community support (#15572)
* [vcpkg] initial ppc64le community support
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
* [boost-modular-build-helper] ppc64le support
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
* Merge from master
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/boost-modular-build-helper/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | ports/boost-modular-build-helper/boost-modular-build.cmake | 2 | ||||
| -rw-r--r-- | ports/boost-modular-build-helper/vcpkg.json | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/ports/boost-modular-build-helper/CMakeLists.txt b/ports/boost-modular-build-helper/CMakeLists.txt index ce33c0f4a..d868b5ac8 100644 --- a/ports/boost-modular-build-helper/CMakeLists.txt +++ b/ports/boost-modular-build-helper/CMakeLists.txt @@ -39,6 +39,8 @@ if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "s390x") list(APPEND B2_OPTIONS architecture=s390x)
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
list(APPEND B2_OPTIONS architecture=arm)
+elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "ppc64le")
+ list(APPEND B2_OPTIONS architecture=power)
else()
list(APPEND B2_OPTIONS architecture=x86)
endif()
diff --git a/ports/boost-modular-build-helper/boost-modular-build.cmake b/ports/boost-modular-build-helper/boost-modular-build.cmake index 481dfd510..09daaeea3 100644 --- a/ports/boost-modular-build-helper/boost-modular-build.cmake +++ b/ports/boost-modular-build-helper/boost-modular-build.cmake @@ -303,6 +303,8 @@ function(boost_modular_build) list(APPEND B2_OPTIONS address-model=64 architecture=arm)
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "s390x")
list(APPEND B2_OPTIONS address-model=64 architecture=s390x)
+ elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "ppc64le")
+ list(APPEND B2_OPTIONS address-model=64 architecture=power)
else()
list(APPEND B2_OPTIONS address-model=32 architecture=x86)
endif()
diff --git a/ports/boost-modular-build-helper/vcpkg.json b/ports/boost-modular-build-helper/vcpkg.json index 3ae62630e..bc96cdaef 100644 --- a/ports/boost-modular-build-helper/vcpkg.json +++ b/ports/boost-modular-build-helper/vcpkg.json @@ -1,7 +1,7 @@ { "name": "boost-modular-build-helper", "version-string": "1.75.0", - "port-version": 2, + "port-version": 3, "dependencies": [ "boost-uninstall" ] |
