graalvm

emilaasa 2022-11-21T13:54:57.469159Z

Do you have to do anything special to build M1 native-image in github workflows? Iโ€™ve browsed some of your excellent workflow files on github but I donโ€™t understand how it works yet.

emilaasa 2022-11-21T13:56:26.918439Z

Here for example the amd64 image is built: https://github.com/clojure-lsp/clojure-lsp/blob/e1adabd1a12d1b9893cf5e88ac2b03e87875e9f9/.github/workflows/nightly.yml#L218 But I donโ€™t see similar ones for arm64..

ericdallo 2022-11-21T13:57:32.331959Z

ATM there is no way for that work on github actions :/

ericdallo 2022-11-21T13:57:41.348439Z

for clojure-lsp, we build https://github.com/clojure-lsp/clojure-lsp/blob/master/.cirrus.yml

ericdallo 2022-11-21T13:58:07.407319Z

that macos on github actions is only for amd64

ericdallo 2022-11-21T13:58:39.025699Z

There is a github issue with lots of people asking for that, but it's opened for a long time and github doesn't seem to prioritize

emilaasa 2022-11-21T13:58:46.033349Z

Thanks eric!

๐Ÿ‘ 1
emilaasa 2022-11-21T14:02:45.329349Z

If only it was finally the year of the linux desktop then we could have a simple life!

borkdude 2022-11-21T14:06:24.483019Z

Linux comes in arm64 too so you would still have this problem

ericdallo 2022-11-21T14:07:06.194579Z

yep, asus started to build arm64 notebooks, I'm looking forward to replace mine soon

borkdude 2022-11-21T14:07:29.852159Z

And donโ€™t tell me about qemu, itโ€™s too ffing slow

๐Ÿ‘ 1
emilaasa 2022-11-21T14:07:44.351189Z

Haha I was just about to tell you about qemu ๐Ÿ™‚

borkdude 2022-11-21T14:08:29.543949Z

I use CircleCi for aarch64 Linux and cirrus for macOS arm64 but you could use Cirrus for both

emilaasa 2022-11-21T14:10:06.746199Z

Yeah they both seem to be using graviton2 from aws in the background which is pretty cool

ericdallo 2022-11-21T14:10:47.858879Z

oh, good to know about that

emilaasa 2022-11-21T14:11:00.461269Z

Github probably has to wait for azure to duct tape together some off the shelf laptops to create their runners

ericdallo 2022-11-21T14:11:24.486969Z

At Nubank we are starting to test services on graviton aws instances as well, but it's pretty early yet like only staging stuff

emilaasa 2022-11-21T14:11:48.864649Z

It looks awesome to be honest

๐Ÿ‘ 1
emilaasa 2022-11-21T14:08:30.913109Z

Huge thanks btw to all you guys for the inspiration and guidelines on how to get graalvm up and running with clojure.

๐Ÿ‘ 3
2
2
2
2