This is an automated email from the ASF dual-hosted git repository.
xiaokang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-graphar.git
The following commit(s) were added to refs/heads/main by this push:
new 34b00d95 fix(ci): install arrow 20.0.0_1 with brewfile(temporary
soluation) (#725)
34b00d95 is described below
commit 34b00d95e2a8b88e8df06b3b9024d8bf7199c9c0
Author: Xiaokang Yang <[email protected]>
AuthorDate: Thu Aug 14 17:46:23 2025 +0800
fix(ci): install arrow 20.0.0_1 with brewfile(temporary soluation) (#725)
install arrow 20.0.0_1 with homebrew commit id
---
.github/workflows/ci.yml | 6 ++++++
cpp/Brewfile | 1 -
cpp/README.md | 9 +++++++++
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b1a8ff51..88c6428e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -208,6 +208,12 @@ jobs:
- name: Install dependencies
run: |
brew bundle --file=cpp/Brewfile
+ git clone https://github.com/Homebrew/homebrew-core.git --depth 1
+ pushd homebrew-core
+ git fetch origin b76848f98196f6dd9d3c4e6f71d030da84d22ce8
+ git checkout b76848f98196f6dd9d3c4e6f71d030da84d22ce8
+ brew install ./Formula/a/apache-arrow.rb
+ popd
git clone https://github.com/apache/incubator-graphar-testing.git
$GAR_TEST_DATA --depth 1
- name: Build GraphAr
diff --git a/cpp/Brewfile b/cpp/Brewfile
index 889d3c90..489ef478 100644
--- a/cpp/Brewfile
+++ b/cpp/Brewfile
@@ -17,7 +17,6 @@
brew "cmake"
brew "google-benchmark"
-brew "apache-arrow"
brew "boost"
brew "doxygen"
brew "git"
diff --git a/cpp/README.md b/cpp/README.md
index da7885eb..850e7c24 100644
--- a/cpp/README.md
+++ b/cpp/README.md
@@ -56,6 +56,15 @@ On macOS, you can use [Homebrew](https://brew.sh) to install
the required packag
```bash
brew update && brew bundle --file=cpp/Brewfile
```
+and run the following command to install the Arrow 20.0.0_1 C++ libraries:
+```bash
+git clone https://github.com/Homebrew/homebrew-core.git --depth 1
+cd homebrew-core
+git fetch origin b76848f98196f6dd9d3c4e6f71d030da84d22ce8
+git checkout b76848f98196f6dd9d3c4e6f71d030da84d22ce8
+brew install ./Formula/a/apache-arrow.rb
+```
+
> [!NOTE]
> 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`).
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]