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

Use correct filter for IntelliJ SDK architecture selector #5073

Conversation

ujohnny
Copy link
Collaborator

@ujohnny ujohnny commented Jul 10, 2023

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

Issue number: #5058

Description of this change

IntelliJ SDK uses amd64 unlike x86_64 os.arch JVM property on macOS. This fixes #5058 which makes impossible running intellij with bazel plugin on intel mac. There is a utility class available in IntelliJ SDK which can be used for CPU architecture (actually JVM) detection.

@sgowroji sgowroji added product: IntelliJ IntelliJ plugin awaiting-review Awaiting review from Bazel team on PRs labels Jul 11, 2023
IntelliJ SDK uses amd64 unlike x86_64 os.arch JVM property on macOS.
This fixes bazelbuild#5058 which makes impossible running intellij with bazel
plugin on intel mac.
@ujohnny ujohnny force-pushed the enovozhilov/bazel-intellij-plugin-intel-mac branch from 8fb869d to 1fc16df Compare July 11, 2023 07:29
@tpasternak tpasternak merged commit f0ea421 into bazelbuild:master Jul 11, 2023
1 check passed
@ujohnny ujohnny deleted the enovozhilov/bazel-intellij-plugin-intel-mac branch July 14, 2023 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review Awaiting review from Bazel team on PRs product: IntelliJ IntelliJ plugin
Projects
Development

Successfully merging this pull request may close these issues.

"Bazel IntelliJ Plugin" run configuration does not work on intel mac
3 participants