Login  Register

Re: JOGL for Mac ARM Silicon

Posted by Martin on Oct 27, 2021; 3:08pm
URL: https://forum.jogamp.org/JOGL-for-Mac-ARM-Silicon-tp4040887p4041413.html

Hi,

Thanks to Manu for sharing hints on building. I have been able go a little further : keeping SWT in build and updating macOS-universal jars with the x86+arm dylib, which allows using the same jar for Intel or Arm processors.

I have been able to run a small demo program on two Macs, one displaying GL version, the other showing the Jzy3D surface tutorial, so I can say it works... BUT when running the JOGL JUnit tests suite, lot of them are crashing the JVM. They're still running so I'll investigate a bit later and tell you. Gluegen JUnit tests are OK.

I'll share the prebuilt jar as soon as possible. In the meantime, you may wish to read the recipe in this readme. I have mirrored the jogl and gluegen repo to be able to store my edits somewhere, so you may restart from the feature/macosx-arm64 branch. For now the ant build is modified to work on macOS+arm, but is not generalized to support both x86 and arm.

I'll be happy to participate in testing the hangs recently discussed.