Skip to content

[vcpkg] Don't require native tools on arm64 macOS#15045

Merged
BillyONeal merged 1 commit intomicrosoft:masterfrom
orudge:fix-native-tools-arm64-mac
Dec 12, 2020
Merged

[vcpkg] Don't require native tools on arm64 macOS#15045
BillyONeal merged 1 commit intomicrosoft:masterfrom
orudge:fix-native-tools-arm64-mac

Conversation

@orudge
Copy link
Copy Markdown
Contributor

@orudge orudge commented Dec 10, 2020

I've been building on macOS (Apple Silicon) and vcpkg has started saying:

"Environment variable VCPKG_FORCE_SYSTEM_BINARIES must be set on arm and s390x platforms."

I assume it's now being built as native code instead of x86_64 - however, I see no reason that we need to use system binaries on Apple Silicon. We can still run x86_64 binaries of cmake, etc.

As such I propose this patch to exclude macOS from this error, in the same way Windows is excluded.

Copy link
Copy Markdown
Contributor

@ras0219-msft ras0219-msft left a comment

Choose a reason for hiding this comment

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

LGTM assuming apple silicon can run x64 binaries directly

@PhoebeHui PhoebeHui added category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. labels Dec 11, 2020
@BillyONeal BillyONeal merged commit 7f328aa into microsoft:master Dec 12, 2020
@BillyONeal
Copy link
Copy Markdown
Member

Thanks!

strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants