Skip to content

Commit

Permalink
Disable brew update when installing dependencies as it is super slow. (
Browse files Browse the repository at this point in the history
…#1506)

Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
  • Loading branch information
sighingnow committed May 5, 2022
1 parent ac1c1ea commit d0de89a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,8 @@ install_dependencies() {
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"
fi
log "Installing packages ${BASIC_PACKGES_TO_INSTALL[*]}"
export HOMEBREW_NO_INSTALL_CLEANUP=1
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
brew install ${BASIC_PACKGES_TO_INSTALL[*]}

if [[ ${CN_MIRROR} == true && "${packages_to_install[*]}" =~ "openjdk@11" ]]; then
Expand Down

0 comments on commit d0de89a

Please sign in to comment.