Skip to content

Commit 17a811c

Browse files
committed
Revert last commit, fails to build cmake with OPENSSL errors, with 3.26. Needs fixing
1 parent 767c072 commit 17a811c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

buildscripts/make_dependencies.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +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
3232
else
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
4333
cd "$DOWNLOAD_DIR"
4434
if [[ ! -d "protobuf-${PROTOBUF_VERSION}" ]]; then
4535
curl -Ls "https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protobuf-${PROTOBUF_VERSION}.tar.gz" | tar xz

0 commit comments

Comments
 (0)