mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
arrow-cpp: Fix building x86_64-darwin on aarch_64-darwin
When building x86_64-darwin emulated via Rosetta on aarch64-darwin, all
tests would fail with
> Illegal instruction: 4
this resolves that by never using Jemalloc on Darwin, since even though
`isAarch64` is false, it might “really” be aarch64-darwin.
(cherry picked from commit 9764c81130)
This commit is contained in:
committed by
github-actions[bot]
parent
9282141c8b
commit
24e36bebeb
@@ -40,7 +40,7 @@
|
||||
, zstd
|
||||
, enableShared ? !stdenv.hostPlatform.isStatic
|
||||
, enableFlight ? true
|
||||
, enableJemalloc ? !(stdenv.isAarch64 && stdenv.isDarwin)
|
||||
, enableJemalloc ? !stdenv.isDarwin
|
||||
# boost/process is broken in 1.69 on darwin, but fixed in 1.70 and
|
||||
# non-existent in older versions
|
||||
# see https://github.com/boostorg/process/issues/55
|
||||
|
||||
Reference in New Issue
Block a user