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 support for Apple Silicon and other ARM builds #115

Merged
merged 3 commits into from
Jul 23, 2021

Conversation

LabhanshAgrawal
Copy link
Contributor

Add arm build assets as a separate platform, to avoid overwriting x64.

@vercel
Copy link

vercel bot commented Jul 17, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel/hazel/ELnxSWJLDRHzy9CbVqEHsNaUB5wF
✅ Preview: https://hazel-git-fork-labhanshagrawal-arm64.vercel.sh

lib/aliases.js Outdated Show resolved Hide resolved
@LabhanshAgrawal
Copy link
Contributor Author

@leo I have updated with requested changes

lib/aliases.js Outdated Show resolved Hide resolved
Co-authored-by: Leo Lamprecht <mindrun@icloud.com>
lib/platform.js Outdated Show resolved Hide resolved
lib/platform.js Outdated Show resolved Hide resolved
@@ -81,6 +81,10 @@ module.exports = ({ cache, config }) => {
platform = 'dmg'
}

if (platform === 'mac_arm64' && !isUpdate) {
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's for the zip issue on mac os
Similar to lines 80-82 for x64

Copy link
Contributor

Choose a reason for hiding this comment

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

Makes sense!

Co-authored-by: Leo Lamprecht <mindrun@icloud.com>
@leo leo changed the title Add arm_64 platform Add support for Apple Silicon and other ARM builds Jul 23, 2021
@leo leo merged commit 10b9813 into vercel:master Jul 23, 2021
@LabhanshAgrawal LabhanshAgrawal deleted the arm64 branch July 23, 2021 13:50
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