Skip to content

Commit 34b00d9

Browse files
authored
fix(ci): install arrow 20.0.0_1 with brewfile(temporary soluation) (#725)
install arrow 20.0.0_1 with homebrew commit id
1 parent 676d301 commit 34b00d9

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ jobs:
208208
- name: Install dependencies
209209
run: |
210210
brew bundle --file=cpp/Brewfile
211+
git clone https://github.com/Homebrew/homebrew-core.git --depth 1
212+
pushd homebrew-core
213+
git fetch origin b76848f98196f6dd9d3c4e6f71d030da84d22ce8
214+
git checkout b76848f98196f6dd9d3c4e6f71d030da84d22ce8
215+
brew install ./Formula/a/apache-arrow.rb
216+
popd
211217
git clone https://github.com/apache/incubator-graphar-testing.git $GAR_TEST_DATA --depth 1
212218
213219
- name: Build GraphAr

cpp/Brewfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
brew "cmake"
1919
brew "google-benchmark"
20-
brew "apache-arrow"
2120
brew "boost"
2221
brew "doxygen"
2322
brew "git"

cpp/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ On macOS, you can use [Homebrew](https://brew.sh) to install the required packag
5656
```bash
5757
brew update && brew bundle --file=cpp/Brewfile
5858
```
59+
and run the following command to install the Arrow 20.0.0_1 C++ libraries:
60+
```bash
61+
git clone https://github.com/Homebrew/homebrew-core.git --depth 1
62+
cd homebrew-core
63+
git fetch origin b76848f98196f6dd9d3c4e6f71d030da84d22ce8
64+
git checkout b76848f98196f6dd9d3c4e6f71d030da84d22ce8
65+
brew install ./Formula/a/apache-arrow.rb
66+
```
67+
5968
> [!NOTE]
6069
> Currently, the Arrow C++ library has [disabled ARROW_ORC](https://github.com/Homebrew/homebrew-core/blob/4588359b7248b07379094de5310ee7ff89afa17e/Formula/a/apache-arrow.rb#L53) in the brew formula, so you need to build and install the Arrow C++ library manually (with `-DARROW_ORC=True`).
6170

0 commit comments

Comments
 (0)