[
https://issues.apache.org/jira/browse/ARROW-17872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17611991#comment-17611991
]
Kouhei Sutou commented on ARROW-17872:
--------------------------------------
Thanks for the info!
Let's try one of the preinstalled LLVMs.
If we upgrade our clang-format version to 14 from 12, we can use
{{cpp/Brewfile}} without changes on CI:
{noformat}
diff --git a/.env b/.env
index 761642506f..e124264335 100644
--- a/.env
+++ b/.env
@@ -53,7 +53,7 @@ FEDORA=35
UBUNTU=20.04
# Default versions for various dependencies
-CLANG_TOOLS=12
+CLANG_TOOLS=14
CUDA=11.0.3
DASK=latest
DOTNET=6.0
diff --git a/cpp/Brewfile b/cpp/Brewfile
index 61fb619dc6..c6afd5dc76 100644
--- a/cpp/Brewfile
+++ b/cpp/Brewfile
@@ -28,8 +28,9 @@ brew "git"
brew "glog"
brew "googletest"
brew "grpc"
-brew "llvm"
-brew "llvm@12"
+# GitHub Actions' macos-11 runner includes llvm@14.
+# We can use it to save CI time.
+brew "llvm@14"
brew "lz4"
brew "ninja"
brew "numpy"
{noformat}
If we don't want to change our required clang-format version, we need to change
{{cpp/Brewfile}} in each CI job.
> [CI] Reduce required dependencies on macOS builds
> -------------------------------------------------
>
> Key: ARROW-17872
> URL: https://issues.apache.org/jira/browse/ARROW-17872
> Project: Apache Arrow
> Issue Type: Wish
> Components: C++, Continuous Integration, GLib, Python
> Reporter: Antoine Pitrou
> Assignee: Jacob Wujciak-Jens
> Priority: Critical
> Fix For: 10.0.0
>
>
> Our macOS CI builds on Github Actions usually take at least 10 minutes
> installing dependencies from Homebrew (because of compiling from source?). It
> would be nice to cache those, especially as they probably don't change often.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)