swift-arm64 icon indicating copy to clipboard operation
swift-arm64 copied to clipboard

Build for Manjaro/Arch

Open theironrobin opened this issue 3 years ago • 3 comments

How can I build for Manjaro or Arch?

theironrobin avatar Nov 06 '20 23:11 theironrobin

@alexr4535 Sorry I can't help you with Manjaro or Arch. I know that @soloturn is successfully building swift for x86_64 on arch, details are here - https://github.com/soloturn/swift-aur so building on arm64/arch should also be possible providing all the dependancies are available in aarch64/arm64 versions.

futurejones avatar Nov 07 '20 01:11 futurejones

a working arch aur PKGBUILD is here: https://aur.archlinux.org/packages/swift-language-git/. challenges were similar to swift for termux for android, https://github.com/termux/termux-packages/tree/master/packages, @buttaface was so kind to upstream his patches so it should build out of the box.

soloturn avatar Nov 07 '20 18:11 soloturn

I don't believe my Android AArch64 patches are used when building for linux AArch64, so you will probably have to apply both the patches from this repo and the Arch package to get it to build.

finagolfin avatar Nov 08 '20 02:11 finagolfin