llvm_14: backport fix for python crashes on aarch64-linux

This fixes the tests of numba on aarch64-linux.
This commit is contained in:
Martin Weinelt 2024-02-19 18:37:13 +01:00
parent 50cda7aaf0
commit e8dbcf6888
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -94,6 +94,12 @@ in stdenv.mkDerivation (rec {
relative = "llvm";
hash = "sha256-XPbvNJ45SzjMGlNUgt/IgEvM2dHQpDOe6woUJY+nUYA=";
})
# fix RuntimeDyld usage on aarch64-linux (e.g. python312Packages.numba tests)
(fetchpatch {
url = "https://github.com/llvm/llvm-project/commit/2e1b838a889f9793d4bcd5dbfe10db9796b77143.patch";
relative = "llvm";
hash = "sha256-Ot45P/iwaR4hkcM3xtLwfryQNgHI6pv6ADjv98tgdZA=";
})
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;
postPatch = optionalString stdenv.isDarwin ''