Skip to content

Commit

Permalink
fix core detection
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Oct 12, 2023
1 parent dd2a5f3 commit 0b174d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/tasks/r/github.packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@ jobs:
rm -rf arrow/
- name: Enable parallel build
run: |
echo "MAKEFLAGS=-j$(nproc)" >> $GITHUB_ENV
cores=`nproc || sysctl -n hw.logicalcpu`
echo "MAKEFLAGS=-j$cores" >> $GITHUB_ENV
- name: Install arrow from nightly repo
env:
# Test source build so be sure not to download a binary
Expand Down

0 comments on commit 0b174d7

Please sign in to comment.