[opencc] Fix regression on pipeline (#12246)

* debug opencc regression on pipeline

* Get the build logs.

* [opencc] Remove debug code, add DISABLE_PARALLEL to configure

* [opencc] Remove apply patch

* Update portfile.cmake
This commit is contained in:
Jack·Boos·Yu 2020-07-06 12:20:02 -07:00 committed by GitHub
parent a2a16ae7d5
commit b6d4c4e2bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 10 deletions

View File

@ -1,8 +1,9 @@
Source: opencc
Version: 2020-04-26-6
Description: A project for conversion between Traditional and Simplified Chinese
Homepage: https://github.com/BYVoid/OpenCC
Supports: !(arm|arm64|uwp)
Feature: tools
Description: Build OpenCC command-line tools
Source: opencc
Version: 2020-04-26
Port-Version: 7
Description: A project for conversion between Traditional and Simplified Chinese
Homepage: https://github.com/BYVoid/OpenCC
Supports: !(arm|arm64|uwp)
Feature: tools
Description: Build OpenCC command-line tools

View File

@ -19,7 +19,9 @@ vcpkg_configure_cmake(
-DENABLE_GTEST=OFF
)
vcpkg_install_cmake()
vcpkg_install_cmake(
DISABLE_PARALLEL
)
vcpkg_copy_pdbs()
@ -47,4 +49,4 @@ endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)