-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-3518: Detect HOMEBREW_PREFIX automatically #2761
Conversation
It can be detected by executing `brew --prefix` if available.
Codecov Report
@@ Coverage Diff @@
## master #2761 +/- ##
==========================================
+ Coverage 87.65% 88.58% +0.93%
==========================================
Files 403 342 -61
Lines 61483 57692 -3791
==========================================
- Hits 53891 51107 -2784
+ Misses 7520 6585 -935
+ Partials 72 0 -72 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, with caveat
) | ||
else() | ||
set(HOMEBREW_PREFIX "/usr/local") | ||
endif() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think clang-format-6 is available in Homebrew unfortunately
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirmed that llvm@6
has clang-format-6.0.1 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah that's great. Let's definitely not encourage anyone to use the clang-format recipe then =) https://github.com/Homebrew/homebrew-core/blob/master/Formula/clang-format.rb
It can be detected by executing
brew --prefix
if available.