kou commented on code in PR #14310:
URL: https://github.com/apache/arrow/pull/14310#discussion_r990528323


##########
.github/workflows/cpp.yml:
##########
@@ -182,10 +182,9 @@ jobs:
           key: cpp-ccache-macos-${{ hashFiles('cpp/**') }}
           restore-keys: cpp-ccache-macos-
       - name: Build
-        # use brew version of clang, to be consistent with LLVM lib, see 
ARROW-17790.
+        # pin LLVM version on MacOS to 14 ARROW-17902
         run: |
-          export CC=$(brew --prefix llvm)/bin/clang
-          export CXX=$(brew --prefix llvm)/bin/clang++
+          export LLVM_ROOT=$(brew --prefix llvm@14)

Review Comment:
   Could you keep the "`brew --prefix llvm` is used when `brew --prefix 
llvm@${LLVM_VERSION}` is failed" logic to support the `llvm` formula (that is 
for the latest LLVM) in Homebrew?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to