2020-12-16 07:00:41 +08:00
|
|
|
# Automatically generated by scripts/boost/generate-ports.ps1
|
2020-05-14 01:26:05 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO boostorg/nowide
|
[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 boost-1.76.0
|
|
|
|
SHA512 42acb8ef8d0c3ab01673814ada908dcfb6673c8fb6a4f056043b0a81bbeb9cc8bdd7b52febe0d06d5899d39af9717fa2e63f3678f7005e56d0bc4765e8a232c0
|
2020-05-14 01:26:05 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2020-11-07 05:30:37 +08:00
|
|
|
file(READ "${SOURCE_PATH}/build/Jamfile.v2" _contents)
|
|
|
|
string(REPLACE "import ../../config/checks/config" "import config/checks/config" _contents "${_contents}")
|
2020-12-24 09:16:42 +08:00
|
|
|
string(REPLACE "check-target-builds ../config//cxx11_moveable_fstreams" "check-target-builds ../check_movable_fstreams.cpp" _contents "${_contents}")
|
|
|
|
string(REPLACE "check-target-builds ../config//lfs_support" "check-target-builds ../check_lfs_support.cpp" _contents "${_contents}")
|
2020-11-07 05:30:37 +08:00
|
|
|
file(WRITE "${SOURCE_PATH}/build/Jamfile.v2" "${_contents}")
|
|
|
|
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/build/config")
|
2020-12-24 09:16:42 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/config/check_lfs_support.cpp" "${SOURCE_PATH}/config/check_movable_fstreams.cpp" DESTINATION "${SOURCE_PATH}/build/config")
|
2021-03-27 03:55:34 +08:00
|
|
|
if(NOT DEFINED CURRENT_HOST_INSTALLED_DIR)
|
|
|
|
message(FATAL_ERROR "boost-nowide requires a newer version of vcpkg in order to build.")
|
|
|
|
endif()
|
|
|
|
include(${CURRENT_HOST_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
|
2020-11-07 05:30:37 +08:00
|
|
|
boost_modular_build(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
BOOST_CMAKE_FRAGMENT "${CMAKE_CURRENT_LIST_DIR}/b2-options.cmake"
|
|
|
|
)
|
2020-05-14 01:26:05 +08:00
|
|
|
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
|
|
|
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|