Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lidongze0629 committed Sep 27, 2024
1 parent 88e0844 commit 98f44ee
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions python/graphscope/gsctl/scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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/"
Expand Down

0 comments on commit 98f44ee

Please sign in to comment.