From b6d4c4e2bff290c2ae16a8aedf6a716557d270b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jack=C2=B7Boos=C2=B7Yu?= <47264268+JackBoosY@users.noreply.github.com> Date: Mon, 6 Jul 2020 12:20:02 -0700 Subject: [PATCH] [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 --- ports/opencc/CONTROL | 17 +++++++++-------- ports/opencc/portfile.cmake | 6 ++++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/ports/opencc/CONTROL b/ports/opencc/CONTROL index 49765c5b9e..ab49052f04 100644 --- a/ports/opencc/CONTROL +++ b/ports/opencc/CONTROL @@ -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 diff --git a/ports/opencc/portfile.cmake b/ports/opencc/portfile.cmake index 0d6b2a439b..c67b2d33fc 100644 --- a/ports/opencc/portfile.cmake +++ b/ports/opencc/portfile.cmake @@ -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) \ No newline at end of file