Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Provide Apple Silicon pre-build version of SceneBuilder #367

Closed
wanghongfei opened this issue Jul 3, 2021 · 5 comments
Closed

Provide Apple Silicon pre-build version of SceneBuilder #367

wanghongfei opened this issue Jul 3, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@wanghongfei
Copy link

wanghongfei commented Jul 3, 2021

Provide Apple Silicon pre-build version of SceneBuilder.

Expected Behavior

M1 native build of SceneBuilder should run much faster than current intel build.

Context

I'm using macbook pro with the M1 ARM chip. I downloaded the latest version of ScendBuilder and found that it runs unbearably slow. Then I managed to build the source code by using Zulu's Apple Silicon JDK16 and Gluon's Apple Silicon JavaFX SDK and it perfectly works. I suggest that we should provide this M1 native build out of the box instead of letting people build it mannually.

@wanghongfei wanghongfei added the enhancement New feature or request label Jul 3, 2021
@wanghongfei wanghongfei changed the title Provide a Apple Silicon pre-build version of SceneBuilder Provide Apple Silicon pre-build version of SceneBuilder Jul 3, 2021
@jperedadnr
Copy link
Collaborator

@wanghongfei Scene Builder 18.0.0 has just been released, and you can find an installer for M1: https://github.com/gluonhq/scenebuilder/releases/tag/18.0.0

@Siedlerchr
Copy link

Siedlerchr commented Apr 1, 2022

@jperedadnr Could you please elaborate how you did this? We are also using jpackage to build our app for mac using GithubCI. Is there a trick to build this on an intel machine or do I need an M1 mac for this?

@jperedadnr
Copy link
Collaborator

I've just built it on an M1

You can do it with the proper JDK, JavaFX, jmods for aarch64, running mvn clean package and then the script https://github.com/gluonhq/scenebuilder/blob/master/.github/scripts/jpackage.sh

I haven't tested doing it cross platform (from Intel, using the proper JDK, JavaFX, jmods for aarch64), but it might be possible...

Since GitHub doesn't provide runners for M1, you can do it from a self-hosted runner installed on an M1.

@Siedlerchr
Copy link

Thanks a lot for the insights. Unfortunately my own Macbook is also an Intel one.

@jperedadnr
Copy link
Collaborator

We'll be adding regular M1 builds to Scene Builder as part of #552, using a self-hosted runner.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants