[qt5-base] Remove unnecessary cleaning and speed up build on macOS #28314 (#28316)

* [qt5-base] Remove unnecessary cleaning and speed up build on macOS #28314

* update version database
This commit is contained in:
xiaozhuai, Weihang Ding 2022-12-16 05:50:41 +08:00 committed by GitHub
parent cba75f1aa0
commit 4b6bce313e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 14 deletions

View File

@ -78,16 +78,6 @@ function(install_qt)
endif()
endif()
if(VCPKG_TARGET_IS_OSX)
# For some reason there will be an error on MacOSX without this clean!
message(STATUS "Cleaning before build ${_build_triplet}")
vcpkg_execute_required_process(
COMMAND ${INVOKE_SINGLE} clean
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${_build_triplet}
LOGNAME cleaning-1-${_build_triplet}
)
endif()
message(STATUS "Building ${_build_triplet}")
vcpkg_execute_build_process(
COMMAND ${INVOKE}
@ -101,8 +91,8 @@ function(install_qt)
message(STATUS "Cleaning after build before install ${_build_triplet}")
vcpkg_execute_required_process(
COMMAND ${INVOKE_SINGLE} clean
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${_build_triplet}
LOGNAME cleaning-2-${_build_triplet}
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${_build_triplet}/qmake
LOGNAME cleaning-after-build-${_build_triplet}
)
endif()

View File

@ -1,7 +1,7 @@
{
"name": "qt5-base",
"version": "5.15.7",
"port-version": 2,
"port-version": 3,
"description": "Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.",
"homepage": "https://www.qt.io/",
"license": null,

View File

@ -6114,7 +6114,7 @@
},
"qt5-base": {
"baseline": "5.15.7",
"port-version": 2
"port-version": 3
},
"qt5-canvas3d": {
"baseline": "0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "81ce731dc0595354a8eb77ea9557f4b7a6ca44d3",
"version": "5.15.7",
"port-version": 3
},
{
"git-tree": "5464e5c86a4d0f0e55e9962a0a4476669411fdaf",
"version": "5.15.7",