apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store
https://apple.github.io/foundationdb/
Apache License 2.0
14.18k stars 1.29k forks source link

release package for linux arm64 #11448

Open qzhuyan opened 3 weeks ago

qzhuyan commented 3 weeks ago

It is huge pain to get started with fdb on linux arm64.

  1. There is no release package for linux arm64.
  2. self compiling needs very large machine. (8 GB of ram is not enough)

Would you consider release package for linux arm64 or you don't suggest run FDB on linux arm64?

cross compiling OR compile in Qemu is also option. anyone tried?

suggestions? thanks!

xis19 commented 3 weeks ago

Internally we do not use Qemu -- we could do that in a cloud docker environment instead. @jzhou77 and @ammolitor, would you consider this as it seems not a big deal on our side?

ammolitor commented 3 weeks ago

I am working on a solution to get arm64 binaries incorporated as part of the release assets. We will not use qemu, but will compile in an actual ARM environment.

qzhuyan commented 3 weeks ago

@xis19 @ammolitor thanks for replies! looking forward for FDB linux arm64 releases!

xis19 commented 4 days ago

@qzhuyan I am seeing arm64 pkg released, e.g. https://github.com/apple/foundationdb/releases/tag/7.1.61 Closing as done.

niebayes commented 4 days ago

@xis19 Seems .pkg cannot be used directly by linux.

qzhuyan commented 4 days ago

@xis19 If you mean this one? https://github.com/apple/foundationdb/releases/download/7.1.61/FoundationDB-7.1.61_arm64.pkg, that is for macOS not for linux I think.

xis19 commented 4 days ago

Okay, I never understand Mac... Let's wait for some longer time since @ammolitor is working on it.

gm42 commented 12 hours ago

I built some automation for this ~9 months ago: https://github.com/gm42/fdb-build-support

See also the scripts I added in https://github.com/gm42/foundationdb

But of course upstream support would be great & better.