To be honest I was surprised that M1's can even run ARM Linux out of the box. I'm no expert on this, but I think an issue is ARM compatibility. They are not very up2date anymore but maybe useful to someone -) some on Future Jones stuff', some based on packages provided by Uraimo, etc.). Based on various methods provided by the community (e.g. I used to do various Raspberry Pi Docker images over here Docker Hub, e.g. Qemu: uncaught target signal 4 (Illegal instruction) - core dumped Program arguments: /usr/bin/swift -versionġ. Given how well Rosetta works, this should help in a lot of typical Docker use-cases where convenience is more important than the last ounce of performance.Įdit: this does not actually work (yet?): ❯ docker run -platform linux/amd64 -rm -it swift:5.3 swift -versionĠ. One thing that might be of interest to anyone on an M1 machine looking to use a nightly toolchain or any other Swift release in the interim: you can always run the intel images in Rosetta via: docker run -platform linux/amd64 -rm -it swift:5.3 ERROR: can't find source directory for libicu (tried /home/build-user/icu)ĮRROR: command terminated with a non-zero exit status 1, abortingĪnd before going further down that particular rabbit hole I wanted to see if anyone knows if this is even the right rabbit hole or if there are other, nicer ones to explore Warning: A compatible version of re2c (>= 0.11.3) was not found changes to src/*.in.cc will not affect your build. That fails pretty soon with AR build/libninja.a I looked around a bit yesterday to see if I could build an image myself and found these instructions here: swift-arm64/README.md at master I'd love to get this to work on an M1 Mac: ❯ docker run swift:5.3ĭocker: no matching manifest for linux/arm64/v8 in the manifest list entries. With the Docker Tech Preview available (and working quite well as far as I can tell), I was wondering if there are any plans to publish arm64 swift docker images.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |