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

[pixman] fix build on M1 macs #22854

Merged

Conversation

autoantwort
Copy link
Contributor

pixman checks the host and not the target cpu for cpu features

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/pixman/vcpkg.json

Valid values for the license field are listed at https://spdx.org/licenses/

@JackBoosY JackBoosY self-assigned this Jan 29, 2022
@JackBoosY JackBoosY added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label Jan 29, 2022
Copy link
Contributor

@JackBoosY JackBoosY left a comment

Choose a reason for hiding this comment

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

Can you please also make a PR to the upstream?

Thanks.

@autoantwort
Copy link
Contributor Author

@JackBoosY JackBoosY added depends:upstream-changes Waiting on a change to the upstream project and removed requires:author-response labels Jan 30, 2022
@JackBoosY
Copy link
Contributor

Waiting for upstream reply.

@ras0219-msft
Copy link
Contributor

I think this is the right fix for vcpkg, because the user can instead directly add any desired cpu set flags to their global cflags. Therefore, there isn't a need for ad-hoc per-library detection.

@ras0219-msft ras0219-msft removed the depends:upstream-changes Waiting on a change to the upstream project label Feb 1, 2022
@ras0219-msft ras0219-msft merged commit 0a9e204 into microsoft:master Feb 1, 2022
@ras0219-msft
Copy link
Contributor

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants