From f4a2dce829fb7cbf7e988edc5eceb40e35cbf2a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jack=C2=B7Boos=C2=B7Yu?= <47264268+JackBoosY@users.noreply.github.com> Date: Wed, 2 Sep 2020 09:12:41 -0700 Subject: [vcpkg baseline][rest-rpc] Skip check in baseline (#13295) --- ports/msgpack/CONTROL | 3 ++- ports/msgpack/portfile.cmake | 5 ++++- ports/rest-rpc/CONTROL | 1 + ports/rest-rpc/portfile.cmake | 5 ++++- scripts/ci.baseline.txt | 9 +++++++++ 5 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ports/msgpack/CONTROL b/ports/msgpack/CONTROL index 1715eb780..1ea2e19c2 100644 --- a/ports/msgpack/CONTROL +++ b/ports/msgpack/CONTROL @@ -1,4 +1,5 @@ Source: msgpack -Version: 3.2.0-1 +Version: 3.2.0 +Port-Version: 2 Homepage: https://github.com/msgpack/msgpack-c Description: MessagePack is an efficient binary serialization format, which lets you exchange data among multiple languages like JSON, except that it's faster and smaller. diff --git a/ports/msgpack/portfile.cmake b/ports/msgpack/portfile.cmake index b0939176c..f6c6b4ed9 100644 --- a/ports/msgpack/portfile.cmake +++ b/ports/msgpack/portfile.cmake @@ -1,4 +1,7 @@ -include(vcpkg_common_functions) +if (EXISTS ${CURRENT_INSTALLED_DIR}/include/msgpack/pack.h) + message(FATAL_ERROR "Cannot install ${PORT} when rest-rpc is already installed, please remove rest-rpc using \"./vcpkg remove rest-rpc:${TARGET_TRIPLET}\"") +endif() + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO msgpack/msgpack-c diff --git a/ports/rest-rpc/CONTROL b/ports/rest-rpc/CONTROL index 92f622e93..ed7023bb4 100644 --- a/ports/rest-rpc/CONTROL +++ b/ports/rest-rpc/CONTROL @@ -1,5 +1,6 @@ Source: rest-rpc Version: 0.07 +Port-Version: 1 Homepage: https://github.com/qicosmos/rest_rpc Description: c++11, high performance, cross platform, easy to use rpc framework Build-Depends: asio diff --git a/ports/rest-rpc/portfile.cmake b/ports/rest-rpc/portfile.cmake index 54872c175..551ff1428 100644 --- a/ports/rest-rpc/portfile.cmake +++ b/ports/rest-rpc/portfile.cmake @@ -1,5 +1,8 @@ -# header-only library +if (EXISTS ${CURRENT_INSTALLED_DIR}/include/msgpack/pack.h) + message(FATAL_ERROR "Cannot install ${PORT} when msgpack is already installed, please remove msgpack using \"./vcpkg remove msgpack:${TARGET_TRIPLET}\"") +endif() +# header-only library set(RESTRPC_VERSION V0.07) set(RESTRPC_HASH 148152776c8c4f16e404c62ab3f46618e1817c0b4b186dbcc399c859efd110ed5a207bf56e961c312f80844f696f597068e0abc00e426409d50a2889d30c6d8e) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/rest-rpc-${RESTRPC_VERSION}) diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt index 6d296b255..5e3d9e555 100644 --- a/scripts/ci.baseline.txt +++ b/scripts/ci.baseline.txt @@ -1499,6 +1499,15 @@ reproc:arm-uwp=fail reproc:x64-uwp=fail restbed:arm-uwp=fail restbed:x64-uwp=fail +# file conflicts with msgpack +rest-rpc:x86-windows=skip +rest-rpc:x64-windows=skip +rest-rpc:x64-windows-static=skip +rest-rpc:x64-uwp=skip +rest-rpc:arm-uwp=skip +rest-rpc:arm64-windows=skip +rest-rpc:x64-linux=skip +rest-rpc:x64-osx=skip rhash:arm64-windows=fail rhash:arm-uwp=fail rhash:x64-uwp=fail -- cgit v1.2.3