Skip to content

Commit

Permalink
Add back in rosetta ref
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisnic committed Oct 2, 2023
1 parent b0eb021 commit 8977f05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion r/R/install-arrow.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ install_arrow <- function(nightly = FALSE,
# On the M1, we can't use the usual autobrew, which pulls Intel dependencies
apple_m1 <- grepl("arm-apple|aarch64.*darwin", R.Version()$platform)
# On Rosetta, we have to build without JEMALLOC, so we also can't autobrew
if (on_rosetta()) {
rosetta <- on_rosetta()
if (rosetta) {
Sys.setenv(ARROW_JEMALLOC = "OFF")
}
if (apple_m1 || rosetta) {
Expand Down

0 comments on commit 8977f05

Please sign in to comment.