Skip to content

Commit 761c81d

Browse files
authored
[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
1 parent a1225b6 commit 761c81d

485 files changed

Lines changed: 2046 additions & 1041 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎ports/avro-cpp/CONTROL‎

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
diff --git a/lang/c++/impl/avrogencpp.cc b/lang/c++/impl/avrogencpp.cc
2+
index 61570413..0b6b35a2 100644
3+
--- a/lang/c++/impl/avrogencpp.cc
4+
+++ b/lang/c++/impl/avrogencpp.cc
5+
@@ -804,8 +804,8 @@ static string readGuard(const string &filename) {
6+
7+
int main(int argc, char **argv) {
8+
const string NS("namespace");
9+
- const string OUT("output");
10+
- const string IN("input");
11+
+ const string OUT_FILE("output");
12+
+ const string IN_FILE("input");
13+
const string INCLUDE_PREFIX("include-prefix");
14+
const string NO_UNION_TYPEDEF("no-union-typedef");
15+
16+
@@ -817,14 +817,14 @@ int main(int argc, char **argv) {
17+
po::store(po::parse_command_line(argc, argv, desc), vm);
18+
po::notify(vm);
19+
20+
- if (vm.count("help") || vm.count(IN) == 0 || vm.count(OUT) == 0) {
21+
+ if (vm.count("help") || vm.count(IN_FILE) == 0 || vm.count(OUT_FILE) == 0) {
22+
std::cout << desc << std::endl;
23+
return 1;
24+
}
25+
26+
string ns = vm.count(NS) > 0 ? vm[NS].as<string>() : string();
27+
- string outf = vm.count(OUT) > 0 ? vm[OUT].as<string>() : string();
28+
- string inf = vm.count(IN) > 0 ? vm[IN].as<string>() : string();
29+
+ string outf = vm.count(OUT_FILE) > 0 ? vm[OUT_FILE].as<string>() : string();
30+
+ string inf = vm.count(IN_FILE) > 0 ? vm[IN_FILE].as<string>() : string();
31+
string incPrefix = vm[INCLUDE_PREFIX].as<string>();
32+
bool noUnion = vm.count(NO_UNION_TYPEDEF) != 0;
33+
if (incPrefix == "-") {

‎ports/avro-cpp/install.patch‎

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/lang/c++/CMakeLists.txt b/lang/c++/CMakeLists.txt
2-
index 30a5d66..f7f2b94 100644
2+
index bf764ce4..e84524d0 100644
33
--- a/lang/c++/CMakeLists.txt
44
+++ b/lang/c++/CMakeLists.txt
5-
@@ -40,6 +40,8 @@ set (AVRO_VERSION_MINOR "0")
5+
@@ -48,6 +48,8 @@ list(GET AVRO_VERSION 2 AVRO_VERSION_PATCH)
66
project (Avro-cpp)
77
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR})
88

@@ -11,12 +11,13 @@ index 30a5d66..f7f2b94 100644
1111
if (WIN32 AND NOT CYGWIN AND NOT MSYS)
1212
add_definitions (/EHa)
1313
add_definitions (
14-
@@ -118,11 +120,11 @@ set_target_properties (avrocpp PROPERTIES
14+
@@ -125,12 +127,12 @@ set_target_properties (avrocpp PROPERTIES
1515
set_target_properties (avrocpp_s PROPERTIES
16-
VERSION ${AVRO_VERSION_MAJOR}.${AVRO_VERSION_MINOR})
16+
VERSION ${AVRO_VERSION_MAJOR}.${AVRO_VERSION_MINOR}.${AVRO_VERSION_PATCH})
1717

1818
-target_link_libraries (avrocpp ${Boost_LIBRARIES} ${SNAPPY_LIBRARIES})
1919
+target_link_libraries (avrocpp ${Boost_LIBRARIES} ${SNAPPY_LIBRARIES} ZLIB::ZLIB)
20+
target_include_directories(avrocpp PRIVATE ${SNAPPY_INCLUDE_DIR})
2021

2122
add_executable (precompile test/precompile.cc)
2223

@@ -25,13 +26,12 @@ index 30a5d66..f7f2b94 100644
2526

2627
macro (gen file ns)
2728
add_custom_command (OUTPUT ${file}.hh
28-
@@ -151,34 +153,40 @@ gen (crossref cr)
29-
gen (primitivetypes pt)
29+
@@ -160,37 +162,42 @@ gen (primitivetypes pt)
30+
gen (cpp_reserved_words cppres)
3031

3132
add_executable (avrogencpp impl/avrogencpp.cc)
3233
-target_link_libraries (avrogencpp avrocpp_s ${Boost_LIBRARIES} ${SNAPPY_LIBRARIES})
3334
+target_link_libraries (avrogencpp avrocpp_s ${Boost_LIBRARIES} ${SNAPPY_LIBRARIES} ZLIB::ZLIB)
34-
+
3535

3636
-enable_testing()
3737
+if(BUILD_TESTING)
@@ -57,6 +57,9 @@ index 30a5d66..f7f2b94 100644
5757
-unittest (JsonTests)
5858
-unittest (AvrogencppTests)
5959
-unittest (CompilerTests)
60+
-unittest (AvrogencppTestReservedWords)
61+
-
62+
-add_dependencies (AvrogencppTestReservedWords cpp_reserved_words_hh)
6063
-
6164
-add_dependencies (AvrogencppTests bigrecord_hh bigrecord_r_hh bigrecord2_hh
6265
- tweet_hh
@@ -75,6 +78,9 @@ index 30a5d66..f7f2b94 100644
7578
+ unittest (JsonTests)
7679
+ unittest (AvrogencppTests)
7780
+ unittest (CompilerTests)
81+
+ unittest (AvrogencppTestReservedWords)
82+
+
83+
+ add_dependencies (AvrogencppTestReservedWords cpp_reserved_words_hh)
7884
+
7985
+ add_dependencies (AvrogencppTests bigrecord_hh bigrecord_r_hh bigrecord2_hh
8086
+ tweet_hh
@@ -86,7 +92,7 @@ index 30a5d66..f7f2b94 100644
8692

8793
include (InstallRequiredSystemLibraries)
8894

89-
@@ -189,9 +197,9 @@ include (CPack)
95+
@@ -201,9 +208,9 @@ include (CPack)
9096
install (TARGETS avrocpp avrocpp_s
9197
LIBRARY DESTINATION lib
9298
ARCHIVE DESTINATION lib

‎ports/avro-cpp/portfile.cmake‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
33
vcpkg_from_github(
44
OUT_SOURCE_PATH SOURCE_PATH
55
REPO apache/avro
6-
REF release-1.9.2
7-
SHA512 6a6980901eea964c050eb3d61fadf28712e2f02c36985bf8e5176b668bba48985f6a666554a1964435448de29b18d790ab86b787d0288a22fd9cba00746a7846
6+
REF 2ab8fa85d05f04387bd5d63b10ad1c8fd2243616
7+
SHA512 fd21f0919b0e5e884bdf4d66c4d5ba056f04c426b309ec0b5ab26642a5f6b00d46f4dd965431b10130bc5f0d81699e2195780e90e127f63049ee5763403ef7c8
88
HEAD_REF master
99
PATCHES
1010
install.patch
11+
fix-windows-build.patch
1112
)
1213

1314
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

‎ports/avro-cpp/vcpkg.json‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "avro-cpp",
3+
"version-date": "2021-06-01",
4+
"description": "Apache Avro is a data serialization system",
5+
"homepage": "https://github.com/apache/avro",
6+
"supports": "!(windows & static)",
7+
"dependencies": [
8+
"boost-crc",
9+
"boost-filesystem",
10+
"boost-format",
11+
"boost-iostreams",
12+
"boost-program-options",
13+
"boost-random",
14+
"boost-test",
15+
"boost-thread",
16+
"bzip2",
17+
"liblzma",
18+
"libzip",
19+
"zlib",
20+
"zstd"
21+
],
22+
"features": {
23+
"snappy": {
24+
"description": "Support Snappy for compression",
25+
"dependencies": [
26+
"snappy"
27+
]
28+
}
29+
}
30+
}

‎ports/boost-accumulators/portfile.cmake‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
vcpkg_from_github(
44
OUT_SOURCE_PATH SOURCE_PATH
55
REPO boostorg/accumulators
6-
REF boost-1.75.0
7-
SHA512 1ac43f8a6df1d184261a022c37ffefe9db505e1cc3d4f17cf7ffdf42648d79ebc55653ed299089ff4cf56ccfb90ca565a71fef81735805ef435ac858cf65fae4
6+
REF boost-1.76.0
7+
SHA512 51c5a64ec68274c77a674dfa15b106df2a341018498501a882d1fbeddcdee40944422184cf102986ce5c5fb1e7e5bf388566f94893a2bb6da98ec666fa20287d
88
HEAD_REF master
99
)
1010

‎ports/boost-accumulators/vcpkg.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "boost-accumulators",
3-
"version-string": "1.75.0",
3+
"version": "1.76.0",
44
"description": "Boost accumulators module",
55
"homepage": "https://github.com/boostorg/accumulators",
66
"dependencies": [

‎ports/boost-algorithm/portfile.cmake‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
vcpkg_from_github(
44
OUT_SOURCE_PATH SOURCE_PATH
55
REPO boostorg/algorithm
6-
REF boost-1.75.0
7-
SHA512 6ae80682fcd31caf4dc593f60df6b0c6c26688e2d8aa39277077c29556ae7c4a314cd9037b4d36464ddd3ce28350aa6691e4343617220aae813f98f25611af1a
6+
REF boost-1.76.0
7+
SHA512 1a421f88244e07de254ea8f050e74ed0b0de889ea7a39d95daaf1f55ec5455d9dc7bcb3ae55970885dc6cd5ac6b5f9637146420eadcc59a12fc2753c842207c3
88
HEAD_REF master
99
)
1010

‎ports/boost-algorithm/vcpkg.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "boost-algorithm",
3-
"version-string": "1.75.0",
3+
"version": "1.76.0",
44
"description": "Boost algorithm module",
55
"homepage": "https://github.com/boostorg/algorithm",
66
"dependencies": [

‎ports/boost-align/portfile.cmake‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
vcpkg_from_github(
44
OUT_SOURCE_PATH SOURCE_PATH
55
REPO boostorg/align
6-
REF boost-1.75.0
7-
SHA512 51d138b368a565ecdd9484a333eb0e1a97a23606d3e195ac3a3aa6f64f9b028f1c2abdfa4b28bc49e11044f8f73692a5d86b5591e8ecaf7aa292a0892361a132
6+
REF boost-1.76.0
7+
SHA512 5b9f646512a79c7848989b5d9c2d1e67b3db86cc751d2e1034969412715c7d27a7558ecfececcad3db3ddb49a9b4ca664c9ae844f3e57b32d443549968e2ac9b
88
HEAD_REF master
99
)
1010

0 commit comments

Comments
 (0)