From 88e084448b91c411fe38fcf433ce180cffeb7662 Mon Sep 17 00:00:00 2001 From: Dongze Li Date: Fri, 27 Sep 2024 13:27:21 +0800 Subject: [PATCH] update --- python/graphscope/gsctl/scripts/install_deps.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/graphscope/gsctl/scripts/install_deps.sh b/python/graphscope/gsctl/scripts/install_deps.sh index 3b372a240c5c..f4e7f773f3d1 100755 --- a/python/graphscope/gsctl/scripts/install_deps.sh +++ b/python/graphscope/gsctl/scripts/install_deps.sh @@ -825,9 +825,9 @@ install_analytical_java_dependencies() { # llvm if [[ "${OS_PLATFORM}" == *"Darwin"* ]]; then brew install llvm || true # prevent the `brew link` failure - export CC=${homebrew_prefix}/opt/llvm/bin/clang - export CXX=${homebrew_prefix}/opt/llvm/bin/clang++ - export CPPFLAGS="${CPPFLAGS} -I${homebrew_prefix}/opt/llvm/include" + export CC=${HOMEBREW_PREFIX}/opt/llvm/bin/clang + export CXX=${HOMEBREW_PREFIX}/opt/llvm/bin/clang++ + export CPPFLAGS="${CPPFLAGS} -I${HOMEBREW_PREFIX}/opt/llvm/include" export CARGO_TARGET_X86_64_APPLE_DARWIN_LINKER=${CC} elif [[ "${OS_PLATFORM}" == *"Ubuntu"* ]]; then ${SUDO} apt-get install -y llvm-11-dev lld-11 clang-11