From 98f44ee68150b4bffcb0559c63d59a5fe18825df Mon Sep 17 00:00:00 2001 From: Dongze Li Date: Fri, 27 Sep 2024 14:10:15 +0800 Subject: [PATCH] update --- python/graphscope/gsctl/scripts/install_deps.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/python/graphscope/gsctl/scripts/install_deps.sh b/python/graphscope/gsctl/scripts/install_deps.sh index f4e7f773f3d1..38ee944806c3 100755 --- a/python/graphscope/gsctl/scripts/install_deps.sh +++ b/python/graphscope/gsctl/scripts/install_deps.sh @@ -897,9 +897,9 @@ write_env_config() { } >> "${OUTPUT_ENV_FILE}" { if [[ "${OS_PLATFORM}" == *"Darwin"* ]]; then - echo "export OPENSSL_ROOT_DIR=${homebrew_prefix}/opt/openssl" - echo "export OPENSSL_LIBRARIES=${homebrew_prefix}/opt/openssl/lib" - echo "export OPENSSL_SSL_LIBRARY=${homebrew_prefix}/opt/openssl/lib/libssl.dylib" + echo "export OPENSSL_ROOT_DIR=${HOMEBREW_PREFIX}/opt/openssl" + echo "export OPENSSL_LIBRARIES=${HOMEBREW_PREFIX}/opt/openssl/lib" + echo "export OPENSSL_SSL_LIBRARY=${HOMEBREW_PREFIX}/opt/openssl/lib/libssl.dylib" elif [[ "${OS_PLATFORM}" == *"CentOS"* || "${OS_PLATFORM}" == *"Aliyun"* ]]; then if [[ "${OS_VERSION}" -eq "7" ]]; then echo "source /opt/rh/devtoolset-8/enable" @@ -929,11 +929,11 @@ write_env_config() { { if [[ "${for_analytical_java}" == true ]]; then if [[ "${OS_PLATFORM}" == *"Darwin"* ]]; then - echo "export CC=${homebrew_prefix}/opt/llvm/bin/clang" - echo "export CXX=${homebrew_prefix}/opt/llvm/bin/clang++" + echo "export CC=${HOMEBREW_PREFIX}/opt/llvm/bin/clang" + echo "export CXX=${HOMEBREW_PREFIX}/opt/llvm/bin/clang++" echo "export CARGO_TARGET_X86_64_APPLE_DARWIN_LINKER=${CC}" - echo "export LDFLAGS=\"-L${homebrew_prefix}/opt/llvm/lib\"" - echo "export CPPFLAGS=\"-I${homebrew_prefix}/opt/llvm/include\"" + echo "export LDFLAGS=\"-L${HOMEBREW_PREFIX}/opt/llvm/lib\"" + echo "export CPPFLAGS=\"-I${HOMEBREW_PREFIX}/opt/llvm/include\"" elif [[ "${OS_PLATFORM}" == *"CentOS"* || "${OS_PLATFORM}" == *"Aliyun"* ]]; then echo "source /opt/rh/llvm-toolset-7.0/enable || true" echo "export LIBCLANG_PATH=/opt/rh/llvm-toolset-7.0/root/usr/lib64/"