2020-09-28 09:55:52 +08:00
|
|
|
vcpkg_fail_port_install(ON_ARCH "x86" "arm")
|
|
|
|
|
|
|
|
vcpkg_find_acquire_program(FLEX)
|
|
|
|
vcpkg_find_acquire_program(BISON)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO facebook/fbthrift
|
[boost] update to 1.76.0 (#17335)
* [boost] update generator script for boost 1.76
* [boost] update ports to 1.76.0 (run generator)
* [boost] fix windows build?
* [quantlib] update and fix mac build
* [symengine] update and fix build
* [avro-cpp] update to latest master and fix windows build
* [folly] update to 2021.05.31.00
* [fbthrift, fizz, wangle] update to v2021.05.31.00 and fix build
* [proxygen] update to version 2021.05.31.00
* [fizz, proxygen, fbthrift] fix sodium target
* [proxygen] also works on macOS
* [quantlib] use fix from upstream to fix mac build
* [symengine] minimize patch file and fix deprecation warning
* [folly,proxygen,wangle,fizz,fbthrift] update to 2021.06.14.00
* [fbthrift] remove unnecessary dependency rsocket
I couldn't find any information that this dependency exists. The term is used in the code, but not in the context of a dependency
* [fizz,fbthrift] fix zlib dependency
* [fbthrift] pass required flex executable to cmake configure
* add version files
* [boost] generate-ports.ps1: Apply code review
* [boost] changes from new version of generate-ports script
* update version files
* [boost] generate-ports.ps1: Apply code review
2021-07-08 03:31:06 +08:00
|
|
|
REF v2021.06.14.00
|
|
|
|
SHA512 e59465adcd57722626e5a4407529b164472cde3942bd100b3d6e92c5057f88f1a8544b7181a01e05ed3077ffd2b3811b687aa6741d08aedef6b79aea02305798
|
2020-09-28 09:55:52 +08:00
|
|
|
HEAD_REF master
|
[boost] update to 1.76.0 (#17335)
* [boost] update generator script for boost 1.76
* [boost] update ports to 1.76.0 (run generator)
* [boost] fix windows build?
* [quantlib] update and fix mac build
* [symengine] update and fix build
* [avro-cpp] update to latest master and fix windows build
* [folly] update to 2021.05.31.00
* [fbthrift, fizz, wangle] update to v2021.05.31.00 and fix build
* [proxygen] update to version 2021.05.31.00
* [fizz, proxygen, fbthrift] fix sodium target
* [proxygen] also works on macOS
* [quantlib] use fix from upstream to fix mac build
* [symengine] minimize patch file and fix deprecation warning
* [folly,proxygen,wangle,fizz,fbthrift] update to 2021.06.14.00
* [fbthrift] remove unnecessary dependency rsocket
I couldn't find any information that this dependency exists. The term is used in the code, but not in the context of a dependency
* [fizz,fbthrift] fix zlib dependency
* [fbthrift] pass required flex executable to cmake configure
* add version files
* [boost] generate-ports.ps1: Apply code review
* [boost] changes from new version of generate-ports script
* update version files
* [boost] generate-ports.ps1: Apply code review
2021-07-08 03:31:06 +08:00
|
|
|
PATCHES
|
|
|
|
fix-sodium-target.patch # fixed in master
|
|
|
|
fix-zlib.patch # fixed in master
|
2020-09-28 09:55:52 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS
|
|
|
|
-DBISON_EXECUTABLE=${BISON}
|
[boost] update to 1.76.0 (#17335)
* [boost] update generator script for boost 1.76
* [boost] update ports to 1.76.0 (run generator)
* [boost] fix windows build?
* [quantlib] update and fix mac build
* [symengine] update and fix build
* [avro-cpp] update to latest master and fix windows build
* [folly] update to 2021.05.31.00
* [fbthrift, fizz, wangle] update to v2021.05.31.00 and fix build
* [proxygen] update to version 2021.05.31.00
* [fizz, proxygen, fbthrift] fix sodium target
* [proxygen] also works on macOS
* [quantlib] use fix from upstream to fix mac build
* [symengine] minimize patch file and fix deprecation warning
* [folly,proxygen,wangle,fizz,fbthrift] update to 2021.06.14.00
* [fbthrift] remove unnecessary dependency rsocket
I couldn't find any information that this dependency exists. The term is used in the code, but not in the context of a dependency
* [fizz,fbthrift] fix zlib dependency
* [fbthrift] pass required flex executable to cmake configure
* add version files
* [boost] generate-ports.ps1: Apply code review
* [boost] changes from new version of generate-ports script
* update version files
* [boost] generate-ports.ps1: Apply code review
2021-07-08 03:31:06 +08:00
|
|
|
-DFLEX_EXECUTABLE=${FLEX}
|
2020-09-28 09:55:52 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/fbthrift)
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
# There should be no empty directories in vcpkg/packages/fbthrift_x64-linux
|
|
|
|
file(REMOVE_RECURSE
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp/transport/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp/util/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/transport/http2/server/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/transport/http2/common/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/transport/http2/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/transport/core/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/transport/inmemory/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/protocol/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/security/extensions/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/security/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/frozen/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/reflection/docs
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/cpp2/util/test
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/py3/test
|
[boost] update to 1.76.0 (#17335)
* [boost] update generator script for boost 1.76
* [boost] update ports to 1.76.0 (run generator)
* [boost] fix windows build?
* [quantlib] update and fix mac build
* [symengine] update and fix build
* [avro-cpp] update to latest master and fix windows build
* [folly] update to 2021.05.31.00
* [fbthrift, fizz, wangle] update to v2021.05.31.00 and fix build
* [proxygen] update to version 2021.05.31.00
* [fizz, proxygen, fbthrift] fix sodium target
* [proxygen] also works on macOS
* [quantlib] use fix from upstream to fix mac build
* [symengine] minimize patch file and fix deprecation warning
* [folly,proxygen,wangle,fizz,fbthrift] update to 2021.06.14.00
* [fbthrift] remove unnecessary dependency rsocket
I couldn't find any information that this dependency exists. The term is used in the code, but not in the context of a dependency
* [fizz,fbthrift] fix zlib dependency
* [fbthrift] pass required flex executable to cmake configure
* add version files
* [boost] generate-ports.ps1: Apply code review
* [boost] changes from new version of generate-ports script
* update version files
* [boost] generate-ports.ps1: Apply code review
2021-07-08 03:31:06 +08:00
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/py3/benchmark
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/thrift/lib/thrift/annotation
|
2020-09-28 09:55:52 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_copy_tools(TOOL_NAMES thrift1 AUTO_CLEAN)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
# Handle copyright
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|