Skip to content

Commit 960b9a1

Browse files
authored
Merge pull request #509 from ostis-ai/fix/macos_ci
Update `scripts/install_dependencies.sh` to install `asio` via `brew install asio`
2 parents dbf5ac3 + 556025f commit 960b9a1

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

docs/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Update `scripts/install_deps_macOS.sh` with setting HOMEBREW_DEVELOPER mode to install `asio`
13+
1014
### Removed
1115

1216
- Developer tool to review PRs -- Ellipsis

scripts/install_deps_macOS.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ brew install glib temurin pkgconfig ninja ccache websocketpp nlohmann-json libxm
88
# TODO(NikitaZotov): Remove asio version 1.30.2 pinning below.
99
# Required because websocketpp 0.8.2 is incompatible with newer asio.
1010
# Remove after updating websocketpp to a version including the fix from PR https://github.com/zaphoyd/websocketpp/pull/1164 or later.
11-
brew uninstall --ignore-dependencies asio
12-
curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/502489d3a4c1ca0a3854830eb5da2327b6feb54d/Formula/a/asio.rb
11+
brew uninstall --ignore-dependencies asio || true
12+
curl -fsSL -O https://raw.githubusercontent.com/Homebrew/homebrew-core/502489d3a4c1ca0a3854830eb5da2327b6feb54d/Formula/a/asio.rb
13+
export HOMEBREW_DEVELOPER=1
1314
brew install asio.rb
1415
brew pin asio
16+
unset HOMEBREW_DEVELOPER
17+
rm -f asio.rb
1518

1619
"${SCRIPTS_PATH}/install_deps_python.sh"

0 commit comments

Comments
 (0)