mandrel icon indicating copy to clipboard operation
mandrel copied to clipboard

MacOS support

Open zakkak opened this issue 5 years ago • 10 comments

MacOS builds should be relatively easy to produce and test, however, there are still some roadblocks in our way.

To my knowledge these are:

  • [x] There is no available vanilla build of OpenJDK for MacOS that includes static-libs
  • [x] mandrel-packaging is known to have some issues on MacOS (See https://github.com/graalvm/mandrel-packaging/issues/42)
  • [x] We lack HW for testing and releasing on MacOS (see https://github.com/graalvm/mandrel/issues/114#issuecomment-1016273406)

Please comment bellow if you are aware of any additional issues.

zakkak avatar Aug 26 '20 22:08 zakkak

This issue appears to be stale because it has been open 30 days with no activity. This issue will be closed in 7 days unless Stale label is removed, a new comment is made, or not-Stale label is added.

github-actions[bot] avatar Sep 26 '20 03:09 github-actions[bot]

FYI:

Via Eclipse Temurin there are (untested) Mac OS X static-libs now.

JDK 17: https://github.com/adoptium/temurin17-binaries/releases/tag/jdk-17.0.1%2B12

jerboaa avatar Nov 02 '21 10:11 jerboaa

Anything on this getting traction. Definitely a good thing to move forward with this.

doogle-oss avatar Dec 25 '21 15:12 doogle-oss

Anything on this getting traction.

No, not yet. At the moment it looks like we would need to rely on GH actions to provide MacOS releases while Linux and Windows releases are built and tested internally. @Karm WDYT?

zakkak avatar Jan 19 '22 08:01 zakkak

Relying on doing Mac releases on GH actions is not an option, so there are no MacOS releases planned at the time of writing.

When (rather than if) that changes, we will update this issue :+1:

Karm avatar Jan 19 '22 10:01 Karm

Any updates?

raupachz avatar Nov 15 '22 11:11 raupachz

I don't think our stance has changed on this one, sorry.

jerboaa avatar Nov 15 '22 11:11 jerboaa

https://github.com/graalvm/mandrel-packaging/pull/339 enables building Mandrel for MacOS x86. Next step is figuring out if it works on M1 as well. Last, we will need some infrastructure as mentioned in https://github.com/graalvm/mandrel/issues/114#issuecomment-1016273406.

zakkak avatar May 25 '23 14:05 zakkak

@zakkak Thx for the addition to the mandrel-packaging.

~Releasing without test infrastructure in place is a no go. I would like to avoid any misunderstanding on the front of potentially available released bits.~

My note is redundant. I am sorry. I managed to miss the end of your previous comment :+1:

Karm avatar May 25 '23 15:05 Karm

Mandrel team has the M2 Pro systems now, so we will revisit this issue presently.

Karm avatar Mar 25 '24 21:03 Karm

We have preview builds, now in testing...

[INFO]  Java version: 21.0.3+9-LTS, vendor version: Mandrel-23.1.3.2-dev49b42155870
[INFO]  Graal compiler: optimization level: 2, target machine: armv8-a
[INFO]  C compiler: cc (apple, arm64, 15.0.0)

Karm avatar May 30 '24 12:05 Karm

@debu999 @raupachz Done: https://groups.google.com/u/1/g/quarkus-dev/c/LC11CnPHqTw

Karm avatar Jun 06 '24 08:06 Karm

Well done! Congratulations 🥳

raupach-e2n avatar Sep 12 '24 10:09 raupach-e2n