Skip to content

Build and release mousemaster for Intel macOS - #80

Closed
LikeTheSalad wants to merge 1 commit into
petoncle:mainfrom
LikeTheSalad:macos-intel-build
Closed

Build and release mousemaster for Intel macOS#80
LikeTheSalad wants to merge 1 commit into
petoncle:mainfrom
LikeTheSalad:macos-intel-build

Conversation

@LikeTheSalad

Copy link
Copy Markdown
Contributor

No description provided.

@petoncle

petoncle commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Oh, I was just making changes to the build and committed them to main a few minutes ago. I hope we didn't step on each other's toes 😬

@petoncle

petoncle commented Aug 8, 2026

Copy link
Copy Markdown
Owner

In this commit, I had tried to introduce an Intel build:
29a8dc9

But then, the GitHub Actions job failed:
https://github.com/petoncle/mousemaster/actions/runs/31252514800/job/93090940844#step:6:1771

And I found out that GraalVM has deprecated support for macOS x64:
https://docs.oracle.com/en/graalvm/jdk/25/docs/release-notes/

Support for macOS x64 is deprecated. Version 25.0.1 is the last release that supports this hardware architecture. In future, GraalVM will only support macOS on AArch64 (Apple Silicon).

So in this commit, I reverted the changes:
b5e8f74

What are your thoughts about this?

@LikeTheSalad

Copy link
Copy Markdown
Contributor Author

In this commit, I had tried to introduce an Intel build: 29a8dc9

But then, the GitHub Actions job failed: https://github.com/petoncle/mousemaster/actions/runs/31252514800/job/93090940844#step:6:1771

And I found out that GraalVM has deprecated support for macOS x64: https://docs.oracle.com/en/graalvm/jdk/25/docs/release-notes/

Support for macOS x64 is deprecated. Version 25.0.1 is the last release that supports this hardware architecture. In future, GraalVM will only support macOS on AArch64 (Apple Silicon).

So in this commit, I reverted the changes: b5e8f74

What are your thoughts about this?

I'm not familiarized with graalvm, so I'm not sure what to make of it, I do remember seeing a graalvm issue about this when I created the local build that I mention here, though, but apparently the AI agent could ignore that error and move forward. Generally speaking, I think it makes sense to drop support for Intel-macs in the future as they are quite old now, however, I do see that most macos supporting apps still take them into account, because they're not that old (mine is from 2019). If it gives you too much trouble, then you should avoid creating intel-supported builds.

@petoncle

petoncle commented Aug 9, 2026

Copy link
Copy Markdown
Owner

I was missing an important piece that you have in the PR (resource-config.json):

"pattern":"\\Qcom/sun/jna/darwin-aarch64/libjnidispatch.jnilib\\E"
"pattern":"\\Qcom/sun/jna/darwin-x86-64/libjnidispatch.jnilib\\E"

I triggered a GitHub Actions build with that + GraalVM pinned to 25.0.1 for the macOS Intel build (last GraalVM version supporting Intel) + lipo to create a single mousemaster bundle for both Intel and Apple Silicon. It completed just now:
https://github.com/petoncle/mousemaster/releases/tag/nightly

@LikeTheSalad

Copy link
Copy Markdown
Contributor Author

I was missing an important piece that you have in the PR (resource-config.json):

"pattern":"\\Qcom/sun/jna/darwin-aarch64/libjnidispatch.jnilib\\E"
"pattern":"\\Qcom/sun/jna/darwin-x86-64/libjnidispatch.jnilib\\E"

I triggered a GitHub Actions build with that + GraalVM pinned to 25.0.1 for the macOS Intel build (last GraalVM version supporting Intel) + lipo to create a single mousemaster bundle for both Intel and Apple Silicon. It completed just now: https://github.com/petoncle/mousemaster/releases/tag/nightly

Thanks, it worked. I think we can close this PR.

@petoncle petoncle closed this Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants