Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix: on Intel x64, os.arch is either amd64 or x86_64 depending on the JVM. #98

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

SalomonBrys
Copy link
Contributor

@SalomonBrys SalomonBrys commented Jan 9, 2025

For some reason, the call-kmmbridge-publish job installs an x64 JDK on an arm64 Mac OS runner. I'm guessing that it's because KMMBridgeGithubWorkflow (which is deprecated by the way) uses actions/setup-java@v2, when current version of actions/setup-java is v4.

This led to the realization that some JVM use the identifier "x86_64" instead of "amd64" to identify what we call the x64 architecture.
This PR simply adds the "x86_64" identifier as an alias to "amd64" when detecting the system architecture.

@DominicGBauer DominicGBauer merged commit aea2ac9 into powersync-ja:main Jan 10, 2025
3 checks passed
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