-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add Mac Arm64 support for Node #20764
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
Files not reviewed (1)
- BuildConfigGen/dev.sh: Language not supported
@microsoft-github-policy-service agree company="Microsoft" |
var nodeArchivePath = await downloadArchiveAsync(nodeUrl + '/' + nodeVersion + '/node-' + nodeVersion + '-darwin-x64.tar.gz'); | ||
addPath(path.join(nodeArchivePath, 'node-' + nodeVersion + '-darwin-x64', 'bin')); | ||
var arch = run('uname -m') | ||
var nodeMajorVersionNumber = parseInt(nodeVersion.match(/\d+/)[0], 10); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add fallback for the case when parseInt failed for some reason.
Description: This add support of installing the arm64 version of Node on Mac. This will allow to add more native support for tasks to support arm64 instead of relying on emulation in some cases which is not installed by default.
Documentation changes required: N
Added unit tests: N
Attached related issue: #20763
Checklist: