diff --git a/docs/workflow/requirements/macos-requirements.md b/docs/workflow/requirements/macos-requirements.md index e9606b12569b86..67e7840a64d1be 100644 --- a/docs/workflow/requirements/macos-requirements.md +++ b/docs/workflow/requirements/macos-requirements.md @@ -23,8 +23,8 @@ To build the runtime repo, you will also need to install the following dependenc - `python3` - `ninja` (This one is optional. It is an alternative tool to `make` for building native code) -You can install them separately, or you can alternatively opt to install *[Homebrew](https://brew.sh/)* and use the `Brewfile` provided by the repo, which takes care of everything for you. If you go by this route, once you have *Homebrew* up and running on your machine, run the following command from the root of the repo to download and install all the necessary dependencies at once: +You can install them separately, or you can alternatively opt to install *[Homebrew](https://brew.sh/)* and use the `install-dependencies.sh` script provided by the repo, which takes care of everything for you. If you go by this route, once you have *Homebrew* up and running on your machine, run the following command from the root of the repo to download and install all the necessary dependencies at once: ```bash -brew bundle --no-lock --file eng/Brewfile +./eng/common/native/install-dependencies.sh ``` diff --git a/eng/Brewfile b/eng/Brewfile deleted file mode 100644 index 7a145df5dc637c..00000000000000 --- a/eng/Brewfile +++ /dev/null @@ -1,5 +0,0 @@ -brew "cmake" -brew "icu4c" -brew "openssl@3" -brew "pkg-config" -brew "python3" diff --git a/eng/common/native/install-dependencies.sh b/eng/common/native/install-dependencies.sh index ce661e9e5cd8de..bc19ea2a0d3503 100755 --- a/eng/common/native/install-dependencies.sh +++ b/eng/common/native/install-dependencies.sh @@ -44,7 +44,7 @@ case "$os" in export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 # Skip brew update for now, see https://github.com/actions/setup-python/issues/577 # brew update --preinstall - brew bundle --no-upgrade --no-lock --file=- <