File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 11echo on
22@ rem set PROTOBUF_VER=21.7
33choco install -y gradle git curl pkgconfiglite
4- choco install -y openjdk --version=11.0.27
4+ choco install -y openjdk --version=11.0
55set JAVA_HOME = " c:\Program Files\OpenJDK\jdk-21"
66set PATH = %PATH% ;" c:\Program Files\OpenJDK\jdk-21\bin"
77set PROTOBUF_VER = 22.5
Original file line number Diff line number Diff line change @@ -30,17 +30,6 @@ if [ -f ${INSTALL_DIR}/bin/protoc ]; then
3030 echo " Not building protobuf. Already built"
3131# TODO(ejona): swap to `brew install --devel protobuf` once it is up-to-date
3232else
33- if [[ ! -d " cmake-${CMAKE_VERSION} " ]]; then
34- curl -Ls " https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION} /cmake-${CMAKE_VERSION} .tar.gz" | tar xz
35- fi
36- # the same source dir is used for 32 and 64 bit builds, so we need to clean stale data first
37- rm -rf " $DOWNLOAD_DIR /cmake-${CMAKE_VERSION} /bin"
38- cd " $DOWNLOAD_DIR /cmake-${CMAKE_VERSION} "
39- ./bootstrap
40- make
41- make install
42- ln -s /usr/local/bin/cmake /usr/bin/cmake
43- cd " $DOWNLOAD_DIR "
4433 if [[ ! -d " protobuf-${PROTOBUF_VERSION} " ]]; then
4534 curl -Ls " https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION} /protobuf-${PROTOBUF_VERSION} .tar.gz" | tar xz
4635 curl -Ls " https://github.com/abseil/abseil-cpp/archive/refs/tags/${ABSL_VERSION} .tar.gz" | tar xz
You can’t perform that action at this time.
0 commit comments