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

Add Windows ARM64 and Refactored Targets #601

Merged
merged 7 commits into from
Aug 6, 2024

Conversation

albertocavalcante
Copy link
Contributor

@albertocavalcante albertocavalcante commented Aug 6, 2024

Summary

Gazelle targets haven't been updated in a while. Took this opportunity to re-generate them.

Also, the BUILD file had many go_binary directives even though there are just two flavors: a stripped binary and another with all the symbols. Refactored to dinamically generate those based on the os, arch we should have for each flavor.

Added windows-arm64, tested in a workstation on Azure. Find evidence below.

Warning

bazelisk.js: The NodeJS version installed in the machine must be ARM, otherwise os.arch() returns x64 and it will use the windows_amd64 binary.

Installed from: npm i -g @bazel/bazelisk --registry=https://albertocavalcante.jfrog.io/artifactory/api/npm/bazel-npm-local

Test Evidence

Tested on a Windows ARM4 machine.

system-about

node bazelisk.js

content of @bazel/bazelisk

Context: bazelbuild/bazel#22164

Fixes #572

@albertocavalcante
Copy link
Contributor Author

@meteorcloudy @fweikert can you please review?

Copy link
Member

@meteorcloudy meteorcloudy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@meteorcloudy meteorcloudy merged commit 4448ad1 into bazelbuild:master Aug 6, 2024
2 checks passed
@albertocavalcante albertocavalcante deleted the add-windows-arm64 branch August 6, 2024 10:29
@Khlooddeeb
Copy link

جيد

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.

Bazelisk pulls incorrect Bazel on Windows ARM64
3 participants