-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update C++ dependencies, roughly matching ones used in python. #5472
Changes from all commits
db3150c
9f85447
f86969b
26a497c
bf73245
404fbff
519f590
292b676
419fde6
d65cc51
ae48d49
b1f7138
13f60bb
8c031e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -490,8 +490,8 @@ if [ "$CLONE_ABSEIL" = "yes" ]; then | |
echo | ||
echo "*** Clone abseil" | ||
cd $SRC | ||
# Previously used version: 20210324.2 | ||
git clone $GIT_FLAGS -b 20211102.0 --depth 1 "${GITHUB_BASE_URL}/abseil/abseil-cpp.git" | ||
# Previously used version: 20211102.0 | ||
git clone $GIT_FLAGS -b 20240116.0 --depth 1 "${GITHUB_BASE_URL}/abseil/abseil-cpp.git" | ||
echo "*** Cloning abseil DONE" | ||
if [ "$fedora38" = "yes" ]; then | ||
echo "*** Patching abseil for Fedora 38" | ||
|
@@ -513,6 +513,7 @@ if [ "$BUILD_ABSEIL" = "yes" ]; then | |
cd $SRC/abseil-cpp | ||
mkdir -p "cmake/$BUILD_DIR" && cd "cmake/$BUILD_DIR" | ||
cmake -DCMAKE_CXX_STANDARD=17 \ | ||
-DABSL_PROPAGATE_CXX_STD=ON \ | ||
${cmake_common_args} \ | ||
-DCMAKE_INSTALL_PREFIX=$(prefix abseil) \ | ||
../.. | ||
|
@@ -530,8 +531,8 @@ if [ "$CLONE_ZLIB" = "yes" ]; then | |
echo | ||
echo "*** Clone zlib" | ||
cd $SRC | ||
# Previously used version: v1.2.11 | ||
git clone $GIT_FLAGS -b v1.2.13 --depth 1 "${GITHUB_BASE_URL}/madler/zlib" | ||
# Previously used version: v1.2.13 | ||
git clone $GIT_FLAGS -b v1.3 --depth 1 "${GITHUB_BASE_URL}/madler/zlib" | ||
echo "*** Cloning zlib DONE" | ||
fi | ||
if [ "$BUILD_ZLIB" = "yes" ]; then | ||
|
@@ -561,24 +562,25 @@ if [ "$CLONE_PROTOBUF" = "yes" ]; then | |
echo | ||
echo "*** Cloning protobuf" | ||
cd $SRC | ||
# Previously used version: v3.21.12 | ||
git clone $GIT_FLAGS -b v3.21.2 --depth 1 "${GITHUB_BASE_URL}/protocolbuffers/protobuf.git" | ||
# Previously used version: v3.21.2 | ||
git clone $GIT_FLAGS -b v25.3 --depth 1 "${GITHUB_BASE_URL}/protocolbuffers/protobuf.git" | ||
Comment on lines
+565
to
+566
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
echo "*** Cloning protobuf DONE" | ||
fi | ||
if [ "$BUILD_PROTOBUF" = "yes" ]; then | ||
echo | ||
echo "*** Building protobuf" | ||
cd $SRC/protobuf | ||
# Note in the previously used version we built inside cmake/build; not anymore. | ||
mkdir -p "cmake/$BUILD_DIR" && cd "cmake/$BUILD_DIR" | ||
mkdir -p "$BUILD_DIR" && cd "$BUILD_DIR" | ||
cmake -Dprotobuf_BUILD_TESTS=OFF \ | ||
${cmake_common_args} \ | ||
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ | ||
-Dprotobuf_ABSL_PROVIDER=package \ | ||
-DCMAKE_INSTALL_PREFIX=$(prefix protobuf) \ | ||
.. | ||
make -j$NCPUS | ||
make install | ||
cd ../.. && rm -fr "cmake/$BUILD_DIR" | ||
cd .. && rm -fr "$BUILD_DIR" | ||
if [ "$clean" = "yes" ]; then | ||
rm -fr "$SRC/protobuf" | ||
fi | ||
|
@@ -689,7 +691,7 @@ if [ "$CLONE_CARES" = "yes" ]; then | |
echo "*** Clone ares" | ||
cd $SRC | ||
# Previously used version: cares-1_18_1 | ||
git clone $GIT_FLAGS -b cares-1_18_1 --depth 1 "${GITHUB_BASE_URL}/c-ares/c-ares.git" | ||
git clone $GIT_FLAGS -b cares-1_28_1 --depth 1 "${GITHUB_BASE_URL}/c-ares/c-ares.git" | ||
echo "*** Cloning ares DONE" | ||
fi | ||
if [ "$BUILD_CARES" = "yes" ]; then | ||
|
@@ -721,8 +723,8 @@ if [ "$CLONE_GRPC" = "yes" ]; then | |
echo | ||
echo "*** Clone grpc" | ||
cd $SRC | ||
# Previously used version: v1.45.2 | ||
git clone $GIT_FLAGS -b v1.46.7 --depth 1 "${GITHUB_BASE_URL}/grpc/grpc" | ||
# Previously used version: v1.46.7 | ||
git clone $GIT_FLAGS -b v1.63.0 --depth 1 "${GITHUB_BASE_URL}/grpc/grpc" | ||
echo "*** Cloning grpc DONE" | ||
fi | ||
if [ "$BUILD_GRPC" = "yes" ]; then | ||
|
@@ -756,8 +758,8 @@ if [ "$CLONE_ARROW" = "yes" ]; then | |
echo | ||
echo "*** Cloning arrow" | ||
cd $SRC | ||
# Previously used version: apache-arrow-7.0.0 | ||
git clone $GIT_FLAGS -b apache-arrow-13.0.0 --depth 1 "${GITHUB_BASE_URL}/apache/arrow" | ||
# Previously used version: apache-arrow-13.0.0 | ||
git clone $GIT_FLAGS -b apache-arrow-16.0.0 --depth 1 "${GITHUB_BASE_URL}/apache/arrow" | ||
echo "*** Cloning arrow DONE" | ||
fi | ||
if [ "$BUILD_ARROW" = "yes" ]; then | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to specify the patch version, or are we ok with that changing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a specific version, is just the name they gave, in git terms is just some arbitrary string. Mean as far as I understand how the universe works, that won't change when they create a new version.