-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add support for arm64-apple
and arm64-u*-linux
#6108
base: master
Are you sure you want to change the base?
Conversation
arm64-apple
and arm64-u*-linux
bot rebase |
Error: Command 'Command { std: "git" "merge" "origin/master" "--no-ff" "--no-edit", kill_on_drop: false }' failed with status Some(1); output: no output |
A quick update on this issue. I was able to cross-build a |
f902961
to
670934b
Compare
670934b
to
2a92cd8
Compare
|
||
# x86_64-unknown-linux-gnu | ||
[target.x86_64-unknown-linux-gnu.dependencies] | ||
parity-util-mem = { version = "0.12", default-features = false, features = ["jemalloc-global"] } | ||
|
||
# Apple Silicon chips | ||
[target.aarch64-apple-darwin.dependencies] | ||
parity-util-mem = { version = "0.12", default-features = false, features = ["mimalloc-global"] } | ||
|
||
# linux/arm64 | ||
[target.aarch64-unknown-linux-gnu.dependencies] | ||
parity-util-mem = { version = "0.12", default-features = false, features = ["mimalloc-global"] } |
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.
no longer needed on current master
are there jemalloc problems similar to #6591?
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.
There were issues at runtime yes but I started this PR a while back.
I will check again master without those profiles, thanks for the notice.
The CI pipeline was cancelled due to failure one of the required jobs. |
Until now, we are building only for
x86_64-unknown-linux-gnu
. This PR adds support for more targets.This PR adds support for building binaries for:
aarch64-apple-darwin
aka Apple Silicon M1 & Co.aarch64-unknown-linux-gnu
aka Linux/arm64A first test showed that switching the global allocator for those works and produces a binary that does run on a M1 machine.