narcissus icon indicating copy to clipboard operation
narcissus copied to clipboard

Aarch64 support?

Open danielnorberg opened this issue 3 years ago • 2 comments

Are there any plans for native aarch64 (linux arm, macbook m1) support?

danielnorberg avatar Mar 08 '22 01:03 danielnorberg

Hi, I would love to support Aarch64, but we would need Github Actions support for building for that architecture first. Maybe a cross-compiler could be set up to accomplish this, but honestly I have extremely limited time to work on this right now. Would you be willing to take a shot at this, by chance?

lukehutch avatar Mar 09 '22 08:03 lukehutch

I found a way to compile for aarch64 and that can be replicated for other architectures for which a cross compiler is available on Linux. It consists:


This would leave out only the library load test. Maybe when you have time you can replicate it on Narcissus and for all architectures on Linux for which a cross compiler is available. Take also a look here to check the platform.

Roberto-Gentili avatar Mar 12 '22 07:03 Roberto-Gentili

Hej. All the familiar faces :)

AFAIK GitHub does only support Arm64 on Mac these days.

I can't help with the JVM-Driver, but the profile in the pom is there.

michael-simons avatar Nov 11 '24 16:11 michael-simons

Narcissus is the most egregious hack of the JVM of all time, with the exception of JVM-Driver, which would not have been possible without the genius of @Roberto-Gentili -- so I hope there isn't much mission-critical use of either of them!

lukehutch avatar Nov 11 '24 17:11 lukehutch

Fixed on MacOS via #15 -- not currently fixable for Windows-aarch64, because GitHub doesn't support that build.

lukehutch avatar Nov 11 '24 17:11 lukehutch

No, no critical users on Windows. I probably misinterpreted the GitHub profile, actually. Only wanted to work on MacOS, so that I can be sure my ClassGraph PRs build green :)

michael-simons avatar Nov 11 '24 17:11 michael-simons

No, no critical users on Windows. I probably misinterpreted the GitHub profile, actually. Only wanted to work on MacOS, so that I can be sure my ClassGraph PRs build green :)

... Also take a look at Burningwave\JVM-Driver which is a version of JVM-Driver that implements a smaller but very fast native engine

Roberto-Gentili avatar Nov 12 '24 08:11 Roberto-Gentili

Narcissus is the most egregious hack of the JVM of all time, with the exception of JVM-Driver, which would not have been possible without the genius of @Roberto-Gentili -- so I hope there isn't much mission-critical use of either of them!

Thanks, but the real genius here is you reading your CV on LinkedIn :-)

Roberto-Gentili avatar Nov 12 '24 13:11 Roberto-Gentili