diff options
| author | autoantwort <41973254+autoantwort@users.noreply.github.com> | 2021-07-07 21:31:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-07 12:31:06 -0700 |
| commit | 761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e (patch) | |
| tree | fafc3ca4a857223a779e39343977b72bbff0c654 /ports/boost-math | |
| parent | a1225b69e037b2f3a8dbf4a40bc4d3c957e1f865 (diff) | |
| download | vcpkg-761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e.tar.gz vcpkg-761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e.zip | |
[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
Diffstat (limited to 'ports/boost-math')
| -rw-r--r-- | ports/boost-math/b2-options.cmake | 3 | ||||
| -rw-r--r-- | ports/boost-math/portfile.cmake | 15 | ||||
| -rw-r--r-- | ports/boost-math/vcpkg.json | 8 |
3 files changed, 16 insertions, 10 deletions
diff --git a/ports/boost-math/b2-options.cmake b/ports/boost-math/b2-options.cmake new file mode 100644 index 000000000..573883468 --- /dev/null +++ b/ports/boost-math/b2-options.cmake @@ -0,0 +1,3 @@ +if(APPLE)
+ list(APPEND B2_OPTIONS cxxstd=11)
+endif()
diff --git a/ports/boost-math/portfile.cmake b/ports/boost-math/portfile.cmake index b5a1f2b39..9fbcba6a6 100644 --- a/ports/boost-math/portfile.cmake +++ b/ports/boost-math/portfile.cmake @@ -3,15 +3,24 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/math
- REF boost-1.75.0
- SHA512 d0b31cc55d2c0788b7376bc8be877acb30b0f23a71f83aa6df27d47fc8887542924df9f33b1d69da2befdb4ab087d6905d126ee3a8ae98a91aba0ad3c70311ee
+ REF boost-1.76.0
+ SHA512 50967b962ac4b3cfc799733e5cbbcc15215c27135368a739d2441a70aa6e4a7ccfb617bf3ccd571201568d8bacb209d2a98acbe0593cde7714c7da9faa09ee17
HEAD_REF master
)
+vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile.v2" "import ../../config/checks/config" "import config/checks/config")
+vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile.v2" "check-target-builds ../config//has_gcc_visibility" "check-target-builds ../has_gcc_visibility.cpp")
+
+file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/build/config")
+file(COPY "${SOURCE_PATH}/config/has_gcc_visibility.cpp" DESTINATION "${SOURCE_PATH}/build/config")
+file(COPY "${SOURCE_PATH}/config/has_gcc_visibility.cpp" DESTINATION "${SOURCE_PATH}/")
if(NOT DEFINED CURRENT_HOST_INSTALLED_DIR)
message(FATAL_ERROR "boost-math requires a newer version of vcpkg in order to build.")
endif()
include(${CURRENT_HOST_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
-boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
+boost_modular_build(
+ SOURCE_PATH ${SOURCE_PATH}
+ BOOST_CMAKE_FRAGMENT "${CMAKE_CURRENT_LIST_DIR}/b2-options.cmake"
+)
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
diff --git a/ports/boost-math/vcpkg.json b/ports/boost-math/vcpkg.json index bce6096a2..044d88f7a 100644 --- a/ports/boost-math/vcpkg.json +++ b/ports/boost-math/vcpkg.json @@ -1,7 +1,6 @@ { "name": "boost-math", - "version-string": "1.75.0", - "port-version": 1, + "version": "1.76.0", "description": "Boost math module", "homepage": "https://github.com/boostorg/math", "dependencies": [ @@ -13,12 +12,10 @@ "name": "boost-build", "host": true }, - "boost-compatibility", "boost-concept-check", "boost-config", "boost-core", "boost-detail", - "boost-fusion", "boost-integer", "boost-lambda", "boost-lexical-cast", @@ -26,14 +23,11 @@ "name": "boost-modular-build-helper", "host": true }, - "boost-mp11", - "boost-mpl", "boost-predef", "boost-range", "boost-smart-ptr", "boost-static-assert", "boost-throw-exception", - "boost-tuple", "boost-type-traits", "boost-utility", "boost-vcpkg-helpers" |
