Skip to content

Commit

Permalink
chore: update c++ base images (#6073)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcferretti committed Sep 18, 2024
1 parent ca4ccb9 commit 5a6bdc1
Show file tree
Hide file tree
Showing 27 changed files with 66,912 additions and 54,678 deletions.
2 changes: 1 addition & 1 deletion cpp-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ connect a server when you want to run them.
export DHCPP=$HOME/dhcpp
# If the directory already exists from a previous attempt, ensure is clean/empty
mkdir -p $DHCPP
cp build-dependencies.sh $DHCPP
cp $DHSRC/build-dependencies.sh $DHCPP
cd $DHCPP
# Maybe edit build-dependencies.sh to reflect choices of build tools and build target, if you
# want anything different than defaults; defaults are tested to work,
Expand Down
24 changes: 12 additions & 12 deletions cpp-client/build-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,8 @@ if [ "$CLONE_ZLIB" = "yes" ]; then
echo
echo "*** Clone zlib"
cd $SRC
# Previously used version: v1.2.13
git clone $GIT_FLAGS -b v1.3 --depth 1 "${GITHUB_BASE_URL}/madler/zlib"
# Previously used version: v1.3
git clone $GIT_FLAGS -b v1.3.1 --depth 1 "${GITHUB_BASE_URL}/madler/zlib"
echo "*** Cloning zlib DONE"
fi
if [ "$BUILD_ZLIB" = "yes" ]; then
Expand Down Expand Up @@ -562,8 +562,8 @@ if [ "$CLONE_PROTOBUF" = "yes" ]; then
echo
echo "*** Cloning protobuf"
cd $SRC
# Previously used version: v3.21.2
git clone $GIT_FLAGS -b v25.3 --depth 1 "${GITHUB_BASE_URL}/protocolbuffers/protobuf.git"
# Previously used version: v25.3
git clone $GIT_FLAGS -b v28.1 --depth 1 "${GITHUB_BASE_URL}/protocolbuffers/protobuf.git"
echo "*** Cloning protobuf DONE"
fi
if [ "$BUILD_PROTOBUF" = "yes" ]; then
Expand Down Expand Up @@ -592,8 +592,8 @@ if [ "$CLONE_RE2" = "yes" ]; then
echo
echo "*** Cloning re2"
cd $SRC
# Previously used version: 2022-04-01
git clone $GIT_FLAGS -b 2022-06-01 --depth 1 "${GITHUB_BASE_URL}/google/re2.git"
# Previously used version: 2022-06-01
git clone $GIT_FLAGS -b 2024-07-02 --depth 1 "${GITHUB_BASE_URL}/google/re2.git"
echo "*** Cloning re2 DONE"
fi
if [ "$BUILD_RE2" = "yes" ]; then
Expand Down Expand Up @@ -690,8 +690,8 @@ if [ "$CLONE_CARES" = "yes" ]; then
echo
echo "*** Clone ares"
cd $SRC
# Previously used version: cares-1_18_1
git clone $GIT_FLAGS -b cares-1_28_1 --depth 1 "${GITHUB_BASE_URL}/c-ares/c-ares.git"
# Previously used version: cares-1_28_1
git clone $GIT_FLAGS -b v1.33.1 --depth 1 "${GITHUB_BASE_URL}/c-ares/c-ares.git"
echo "*** Cloning ares DONE"
fi
if [ "$BUILD_CARES" = "yes" ]; then
Expand Down Expand Up @@ -723,8 +723,8 @@ if [ "$CLONE_GRPC" = "yes" ]; then
echo
echo "*** Clone grpc"
cd $SRC
# Previously used version: v1.46.7
git clone $GIT_FLAGS -b v1.63.0 --depth 1 "${GITHUB_BASE_URL}/grpc/grpc"
# Previously used version: v1.63.0
git clone $GIT_FLAGS -b v1.66.1 --depth 1 "${GITHUB_BASE_URL}/grpc/grpc"
echo "*** Cloning grpc DONE"
fi
if [ "$BUILD_GRPC" = "yes" ]; then
Expand Down Expand Up @@ -758,8 +758,8 @@ if [ "$CLONE_ARROW" = "yes" ]; then
echo
echo "*** Cloning arrow"
cd $SRC
# 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"
# Previously used version: apache-arrow-16.0.0
git clone $GIT_FLAGS -b apache-arrow-16.1.0 --depth 1 "${GITHUB_BASE_URL}/apache/arrow"
echo "*** Cloning arrow DONE"
fi
if [ "$BUILD_ARROW" = "yes" ]; then
Expand Down
3 changes: 3 additions & 0 deletions cpp-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def compare = tasks.register('compareProtobuf', DiffTask) {
}
generateTask.set ':cpp-client:updateProtobuf'
}
// Need to disable until the proto base image can catch up to protobuf 28.2
tasks.getByName('compareProtobuf').enabled = false

// fail a "check" build if these are out of date
tasks.getByName('quick').dependsOn(compare)

Expand Down
12 changes: 6 additions & 6 deletions cpp-client/deephaven/cmake/deephavenConfig.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
include(CMakeFindDependencyMacro)
find_dependency(Arrow 16.0.0)
find_dependency(ArrowFlight 16.0.0)
find_dependency(Immer)
find_dependency(Protobuf)
find_dependency(gRPC)
find_dependency(Threads)
find_dependency(Arrow CONFIG REQUIRED)
find_dependency(ArrowFlight CONFIG REQUIRED)
find_dependency(Immer CONFIG REQUIRED)
find_dependency(Protobuf CONFIG REQUIRED)
find_dependency(gRPC CONFIG REQUIRED)
find_dependency(Threads REQUIRED)

include("${CMAKE_CURRENT_LIST_DIR}/deephavenTargets.cmake")
Loading

0 comments on commit 5a6bdc1

Please sign in to comment.