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/symengine | |
| 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/symengine')
| -rw-r--r-- | ports/symengine/CONTROL | 30 | ||||
| -rw-r--r-- | ports/symengine/fix-build.patch | 13 | ||||
| -rw-r--r-- | ports/symengine/portfile.cmake | 15 | ||||
| -rw-r--r-- | ports/symengine/vcpkg.json | 52 |
4 files changed, 74 insertions, 36 deletions
diff --git a/ports/symengine/CONTROL b/ports/symengine/CONTROL deleted file mode 100644 index 4e829ba5b..000000000 --- a/ports/symengine/CONTROL +++ /dev/null @@ -1,30 +0,0 @@ -Source: symengine
-Version: 2020-05-25
-Description: SymEngine is a fast symbolic manipulation library
-Homepage: https://github.com/symengine/symengine
-Build-Depends: boost-math, boost-random
-Default-Features: integer-class-boostmp
-
-Feature: arb
-Description: Build with arb
-Build-Depends: arb
-
-Feature: flint
-Description: Build with flint
-Build-Depends: flint
-
-Feature: mpfr
-Description: Build with mpfr
-Build-Depends: mpfr
-
-Feature: integer-class-boostmp
-Description: Use Boost.multiprecision integer class
-Build-Depends: boost-multiprecision
-
-Feature: integer-class-flint
-Description: Use flint integer class
-Build-Depends: flint, gmp
-
-Feature: tcmalloc
-Description: Build with tcmalloc
-Build-Depends: gperftools
diff --git a/ports/symengine/fix-build.patch b/ports/symengine/fix-build.patch new file mode 100644 index 000000000..5087428e6 --- /dev/null +++ b/ports/symengine/fix-build.patch @@ -0,0 +1,13 @@ +diff --git a/symengine/mp_boost.cpp b/symengine/mp_boost.cpp +index db20930c4..f3997707e 100644 +--- a/symengine/mp_boost.cpp ++++ b/symengine/mp_boost.cpp +@@ -279,7 +279,7 @@ unsigned long mp_scan1(const integer_class &i) + if (i == 0) { + return ULONG_MAX; + } +- return find_lsb(i, int_<0>()); ++ return find_lsb(i, {}); + } + + // define simple 2x2 matrix with exponentiation by repeated squaring diff --git a/ports/symengine/portfile.cmake b/ports/symengine/portfile.cmake index d61271d68..a0677af8a 100644 --- a/ports/symengine/portfile.cmake +++ b/ports/symengine/portfile.cmake @@ -1,17 +1,20 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO symengine/symengine
- REF 4f669d5954977e86f4da0f53cb5110d2eb6320b6
- SHA512 091ebc83240d3823fb73e0f65f80732d2a85e55f19c8e1a3d1435f05cfa0d1b95d893e8a3c432e1698953a35c56a6af78044ee59db04f03706cf33e0798a02c7
+ REF v0.7.0
+ SHA512 fd3198bc4a05ca2b9b8a58039cc21af65b44457f295362a1a9b8dbf9c6e3df5186c0c84b289bc9fe85d9efd5ac1a683f6b7ba9a661fb6d913d6ceefb14ee2348
HEAD_REF master
+ PATCHES
+ fix-build.patch
)
vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
- arb WITH_ARB
- flint WITH_FLINT
- mpfr WITH_MPFR
- tcmalloc WITH_TCMALLOC
+ FEATURES
+ arb WITH_ARB
+ flint WITH_FLINT
+ mpfr WITH_MPFR
+ tcmalloc WITH_TCMALLOC
)
if(integer-class-boostmp IN_LIST FEATURES)
diff --git a/ports/symengine/vcpkg.json b/ports/symengine/vcpkg.json new file mode 100644 index 000000000..4768ffb56 --- /dev/null +++ b/ports/symengine/vcpkg.json @@ -0,0 +1,52 @@ +{ + "name": "symengine", + "version": "0.7.0", + "description": "SymEngine is a fast symbolic manipulation library", + "homepage": "https://github.com/symengine/symengine", + "dependencies": [ + "boost-math", + "boost-random" + ], + "default-features": [ + "integer-class-boostmp" + ], + "features": { + "arb": { + "description": "Build with arb", + "dependencies": [ + "arb" + ] + }, + "flint": { + "description": "Build with flint", + "dependencies": [ + "flint" + ] + }, + "integer-class-boostmp": { + "description": "Use Boost.multiprecision integer class", + "dependencies": [ + "boost-multiprecision" + ] + }, + "integer-class-flint": { + "description": "Use flint integer class", + "dependencies": [ + "flint", + "gmp" + ] + }, + "mpfr": { + "description": "Build with mpfr", + "dependencies": [ + "mpfr" + ] + }, + "tcmalloc": { + "description": "Build with tcmalloc", + "dependencies": [ + "gperftools" + ] + } + } +} |
