-
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
GH-36685: [R][C++] Fix illegal opcode failure with Homebrew #36705
Changes from 42 commits
49e11e2
5610c3b
e267914
175889c
4deb1b4
9b26f23
cf2a507
090340e
3f0c16b
90940a2
da8d095
f949167
eb89238
a11408d
0be0e88
d17ca72
d7865d4
e1f7194
5b99278
c8be627
36d7248
e343cf4
958c820
fe911ea
6e8e7a9
4e0d1c3
e8be476
4e44372
2e980e6
4181e9f
03dc53a
8391b17
04fa789
0af2bb2
1796028
8852d71
e9d121e
a363fc7
97c5f69
cc430b7
d625270
695b7b4
7e688a0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,21 +24,33 @@ jobs: | |
name: "Homebrew + R package" | ||
runs-on: macOS-11 | ||
steps: | ||
- name: Show system information | ||
run: | | ||
sysctl hw.optional machdep.cpu | ||
|
||
{{ macros.github_checkout_arrow()|indent }} | ||
|
||
{{ macros.configure_homebrew_arrow(formula)|indent }} | ||
- name: Install apache-arrow | ||
env: | ||
{{ macros.github_set_sccache_envvars()|indent(8)}} | ||
{{ macros.github_set_sccache_envvars()|indent(8)}} | ||
run: | | ||
|
||
brew install sccache | ||
# for testing | ||
brew install minio | ||
|
||
# TODO(ARROW-16907): apache/arrow@main seems to be installed already | ||
# so this does nothing on a branch/PR | ||
brew install -v --HEAD apache-arrow | ||
brew install -v --HEAD {{ '$(brew --repository homebrew/core)/Formula/apache-arrow.rb' }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to specify absolute path for a formula to use the local modified version. (We didn't need this with old Homebrew.) We may be able to use |
||
|
||
mkdir -p homebrew-logs | ||
cp -a ~/Library/Logs/Homebrew/apache-arrow homebrew-logs/ | ||
- name: Save logs | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: homebrew-logs | ||
path: homebrew-logs | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
- name: Install dependencies | ||
|
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.
Is deleting the old comment enough? Is there a reason a future reader would think this is related to 76537?
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.
Can we defer this to another PR?
To be honest, I want to remove
ENV.runtime_cpu_detection if Hardware::CPU.intel?
entirely or removeif Hardware::CPU.intel?
. If I do the change, we can remove this.But I want to keep this in this PR to clarify we choose "1.
-DARROW_RUNTIME_SIMD_LEVEL=NONE
instead of "2. RemoveENV.runtime_cpu_detection if Hardware::CPU.intel?
".