From e562b659d10096681acf157117f952ea110a8f64 Mon Sep 17 00:00:00 2001 From: Jamlys Lee Date: Tue, 12 Jul 2022 06:14:32 +0800 Subject: [PATCH] [boost-modular-build-helper] Add support for loongarch64 cpu (#25614) * Add support for loongarch64 cpu. * update port version database * update port version * Do nothing... * Revert "Do nothing..." This reverts commit b73b0e4cb8ace91a2268b89d6260c454005d1b2e. Co-authored-by: Jamlys Lee Co-authored-by: Victor Romero --- ports/boost-modular-build-helper/CMakeLists.txt | 2 ++ ports/boost-modular-build-helper/vcpkg.json | 2 +- versions/b-/boost-modular-build-helper.json | 5 +++++ versions/baseline.json | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ports/boost-modular-build-helper/CMakeLists.txt b/ports/boost-modular-build-helper/CMakeLists.txt index faa87bdad6..8cdb5d9c35 100644 --- a/ports/boost-modular-build-helper/CMakeLists.txt +++ b/ports/boost-modular-build-helper/CMakeLists.txt @@ -38,6 +38,8 @@ elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STR list(APPEND B2_OPTIONS architecture=arm) elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "ppc64le") list(APPEND B2_OPTIONS architecture=power) +elseif(VCPKG_TARGET_ARCHITECTURE MATCHES "loongarch") + list(APPEND B2_OPTIONS architecture=loongarch) elseif("arm64" IN_LIST VCPKG_TARGET_ARCHITECTURE AND "x86_64" IN_LIST VCPKG_TARGET_ARCHITECTURE) list(APPEND B2_OPTIONS architecture=arm+x86) else() diff --git a/ports/boost-modular-build-helper/vcpkg.json b/ports/boost-modular-build-helper/vcpkg.json index a2c7ed04a9..9bebbebcd9 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": "1.79.0", - "port-version": 4, + "port-version": 5, "description": "Internal vcpkg port used to build Boost libraries", "license": "MIT", "dependencies": [ diff --git a/versions/b-/boost-modular-build-helper.json b/versions/b-/boost-modular-build-helper.json index f89e97eb60..bbb9d39a7c 100644 --- a/versions/b-/boost-modular-build-helper.json +++ b/versions/b-/boost-modular-build-helper.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "93946fc40b519f0f9afe1b0d36985b2def25d4ab", + "version": "1.79.0", + "port-version": 5 + }, { "git-tree": "cd7a5259d9e086b94af5673e581427f76957ce62", "version": "1.79.0", diff --git a/versions/baseline.json b/versions/baseline.json index a25ba13354..8f10e3bfcc 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -834,7 +834,7 @@ }, "boost-modular-build-helper": { "baseline": "1.79.0", - "port-version": 4 + "port-version": 5 }, "boost-move": { "baseline": "1.79.0",