diff options
| author | Yury Bura <yurybura@gmail.com> | 2021-09-28 03:12:39 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-27 17:12:39 -0700 |
| commit | cc471dc0f59b7b2066d6172c2893419412327a7a (patch) | |
| tree | b3a496ff9a185c17bee8670454c34dd9879fa387 /ports/boost-math | |
| parent | 3768cef9c204bb168c04b3ba7cb93b10a140a91d (diff) | |
| download | vcpkg-cc471dc0f59b7b2066d6172c2893419412327a7a.tar.gz vcpkg-cc471dc0f59b7b2066d6172c2893419412327a7a.zip | |
[boost] update to 1.77.0 (#19556)
Diffstat (limited to 'ports/boost-math')
| -rw-r--r-- | ports/boost-math/001-remove-checks.patch | 23 | ||||
| -rw-r--r-- | ports/boost-math/portfile.cmake | 11 | ||||
| -rw-r--r-- | ports/boost-math/vcpkg.json | 18 |
3 files changed, 33 insertions, 19 deletions
diff --git a/ports/boost-math/001-remove-checks.patch b/ports/boost-math/001-remove-checks.patch new file mode 100644 index 000000000..d25166fa3 --- /dev/null +++ b/ports/boost-math/001-remove-checks.patch @@ -0,0 +1,23 @@ + build/Jamfile.v2 | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 +index fd84028..3537e9f 100644 +--- a/build/Jamfile.v2 ++++ b/build/Jamfile.v2 +@@ -5,7 +5,6 @@ + + import testing ; + import pch ; +-import ../../config/checks/config : requires ; + + project + : requirements +@@ -19,7 +18,6 @@ project + <toolset>intel-linux:<cxxflags>-fvisibility=hidden + #<toolset>sun:<cxxflags>-xldscope=hidden + [ check-target-builds ../config//has_gcc_visibility "gcc visibility" : <toolset>gcc:<cxxflags>-fvisibility=hidden : ] +- [ requires cxx11_noexcept cxx11_rvalue_references sfinae_expr cxx11_auto_declarations cxx11_lambdas cxx11_unified_initialization_syntax cxx11_hdr_tuple cxx11_hdr_initializer_list cxx11_hdr_chrono cxx11_thread_local cxx11_constexpr cxx11_nullptr cxx11_numeric_limits cxx11_decltype cxx11_hdr_array cxx11_hdr_atomic cxx11_hdr_type_traits cxx11_allocator cxx11_explicit_conversion_operators ] + ; + + cpp-pch pch : ../src/tr1/pch.hpp : <include>../src/tr1 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 ; diff --git a/ports/boost-math/portfile.cmake b/ports/boost-math/portfile.cmake index 9fbcba6a6..3719fdda5 100644 --- a/ports/boost-math/portfile.cmake +++ b/ports/boost-math/portfile.cmake @@ -3,17 +3,12 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/math
- REF boost-1.76.0
- SHA512 50967b962ac4b3cfc799733e5cbbcc15215c27135368a739d2441a70aa6e4a7ccfb617bf3ccd571201568d8bacb209d2a98acbe0593cde7714c7da9faa09ee17
+ REF boost-1.77.0
+ SHA512 8a35fff7ecb12bc8caf8951859555016caa21601d5aa21284aae83df19cde054bfe9ead4cb92341558b23794f2b7bfd37979acb9fc6b2f5546f50505adffd8d3
HEAD_REF master
+ PATCHES 001-remove-checks.patch
)
-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()
diff --git a/ports/boost-math/vcpkg.json b/ports/boost-math/vcpkg.json index 044d88f7a..de22af32b 100644 --- a/ports/boost-math/vcpkg.json +++ b/ports/boost-math/vcpkg.json @@ -1,13 +1,10 @@ { "name": "boost-math", - "version": "1.76.0", + "version": "1.77.0", "description": "Boost math module", "homepage": "https://github.com/boostorg/math", "dependencies": [ - "boost-algorithm", - "boost-array", "boost-assert", - "boost-atomic", { "name": "boost-build", "host": true @@ -15,21 +12,20 @@ "boost-concept-check", "boost-config", "boost-core", - "boost-detail", "boost-integer", - "boost-lambda", "boost-lexical-cast", { "name": "boost-modular-build-helper", "host": true }, "boost-predef", - "boost-range", - "boost-smart-ptr", + "boost-random", "boost-static-assert", "boost-throw-exception", - "boost-type-traits", - "boost-utility", - "boost-vcpkg-helpers" + "boost-vcpkg-helpers", + { + "name": "vcpkg-cmake", + "host": true + } ] } |
