[ace] Respect VCPKG_BUILD_TYPE (#34838)

* respect VCPKG_BUILD_TYPE

* update version

* format

* update git-tree

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
This commit is contained in:
MonicaLiu 2023-11-01 13:19:29 -07:00 committed by GitHub
parent b6d0c11ee6
commit 85b031a170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 2 deletions

View File

@ -294,6 +294,7 @@ elseif(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX)
get_filename_component(WORKING_DIR "${WORKSPACE}" DIRECTORY)
set(ENV{PWD} "${WORKING_DIR}")
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
message(STATUS "Building ${TARGET_TRIPLET}-dbg")
vcpkg_execute_build_process(
COMMAND make ${_ace_makefile_macros} "debug=1" "optimize=0" "-j${VCPKG_CONCURRENCY}"
@ -344,7 +345,9 @@ elseif(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX)
LOGNAME realclean-xml-${TARGET_TRIPLET}-dbg
)
endif()
endif()
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
message(STATUS "Building ${TARGET_TRIPLET}-rel")
vcpkg_execute_build_process(
COMMAND make ${_ace_makefile_macros} "-j${VCPKG_CONCURRENCY}"
@ -377,6 +380,8 @@ elseif(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX)
file(RENAME "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
endif()
message(STATUS "Packaging ${TARGET_TRIPLET}-rel done")
endif()
# Restore `PWD` environment variable
set($ENV{PWD} _prev_env)

View File

@ -1,6 +1,7 @@
{
"name": "ace",
"version": "7.1.2",
"port-version": 1,
"maintainers": "Johnny Willemsen <jwillemsen@remedy.nl>",
"description": "The ADAPTIVE Communication Environment",
"homepage": "https://github.com/DOCGroup/ACE_TAO",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "00c6b2eb50cad87d13e5a6a59f38e30cfa954651",
"version": "7.1.2",
"port-version": 1
},
{
"git-tree": "696c1096e0de3cd394392720aa34e0ceceac52e7",
"version": "7.1.2",

View File

@ -26,7 +26,7 @@
},
"ace": {
"baseline": "7.1.2",
"port-version": 0
"port-version": 1
},
"acl": {
"baseline": "2.3.1",