Skip to content

Commit 7eb07dd

Browse files
authored
Remove use of --no-lock with Homebrew. (#113277)
1 parent 2ec50bd commit 7eb07dd

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

docs/workflow/requirements/macos-requirements.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ To build the runtime repo, you will also need to install the following dependenc
2323
- `python3`
2424
- `ninja` (This one is optional. It is an alternative tool to `make` for building native code)
2525

26-
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:
26+
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:
2727

2828
```bash
29-
brew bundle --no-lock --file eng/Brewfile
29+
./eng/common/native/install-dependencies.sh
3030
```

eng/Brewfile

-5
This file was deleted.

eng/common/native/install-dependencies.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ case "$os" in
4444
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
4545
# Skip brew update for now, see https://github.com/actions/setup-python/issues/577
4646
# brew update --preinstall
47-
brew bundle --no-upgrade --no-lock --file=- <<EOF
47+
brew bundle --no-upgrade --file=- <<EOF
4848
brew "cmake"
4949
brew "icu4c"
5050
brew "openssl@3"

0 commit comments

Comments
 (0)