You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by ti...@apache.org on 2022/05/16 17:46:06 UTC

[incubator-kvrocks] branch unstable updated: Disable the OPENSSL when building the newer version cmake (#583)

This is an automated email from the ASF dual-hosted git repository.

tison pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/incubator-kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new 411bf43  Disable the OPENSSL when building the newer version cmake (#583)
411bf43 is described below

commit 411bf43710679a7fa8a5c4b5e4946225757be562
Author: hulk <hu...@gmail.com>
AuthorDate: Tue May 17 01:46:01 2022 +0800

    Disable the OPENSSL when building the newer version cmake (#583)
---
 build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index 86c265b..1dc8959 100755
--- a/build.sh
+++ b/build.sh
@@ -60,7 +60,7 @@ if [ "$(printf '%s\n' "$CMAKE_REQUIRE_VERSION" "$CMAKE_VERSION" | sort -V | head
     CMAKE_DOWNLOAD_VERSION=3.23.1
     curl -O -L https://github.com/Kitware/CMake/releases/download/v$CMAKE_DOWNLOAD_VERSION/cmake-$CMAKE_DOWNLOAD_VERSION.tar.gz
     tar -zxf cmake-$CMAKE_DOWNLOAD_VERSION.tar.gz && cd cmake-$CMAKE_DOWNLOAD_VERSION
-    ./bootstrap --prefix=$CMAKE_INSTALL_DIR && make && make install && cd ../..
+    ./bootstrap --prefix=$CMAKE_INSTALL_DIR -- -DCMAKE_USE_OPENSSL=OFF && make && make install && cd ../..
     CMAKE_BIN=$CMAKE_INSTALL_DIR/bin/cmake
 fi