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

[vcpkg] Fix cross compiling macOS #26240

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

ekilmer
Copy link
Contributor

@ekilmer ekilmer commented Aug 9, 2022

This follows the pattern in the Windows toolchain with respect to
setting VCPKG_CMAKE_SYSTEM_VERSION and also how arm64 macOS can execute
x86_64 through Rosetta.

See here for more discussion/context on the pattern used in the Windows toolchain: #24100

Describe the pull request

This follows the pattern in the Windows toolchain with respect to
setting VCPKG_CMAKE_SYSTEM_VERSION and also how arm64 macOS can execute
x86_64 through Rosetta.
@JackBoosY JackBoosY self-assigned this Aug 9, 2022
@JackBoosY JackBoosY added the category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) label Aug 9, 2022
@JackBoosY JackBoosY added the info:reviewed Pull Request changes follow basic guidelines label Aug 9, 2022
@ekilmer
Copy link
Contributor Author

ekilmer commented Aug 9, 2022

@BillyONeal
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@BillyONeal BillyONeal merged commit 1ed3a89 into microsoft:master Aug 10, 2022
@BillyONeal
Copy link
Member

Thanks a bunch!

@ekilmer ekilmer deleted the fix-macos-crosscompile branch August 10, 2022 18:23
diegovelaz added a commit to diegovelaz/vcpkg that referenced this pull request Aug 10, 2022
Format and add version.

Update CI baseline.

Update port version.

[vcpkg] Fix cross compiling macOS (microsoft#26240)

This follows the pattern in the Windows toolchain with respect to
setting VCPKG_CMAKE_SYSTEM_VERSION and also how arm64 macOS can execute
x86_64 through Rosetta.

[buck-yeh-bux] fix clang-cl builds (microsoft#26248)

* [buck-yeh-bux] fix clang-cl

* v db

[cppcms] Fix narrowing for clang-cl builds (microsoft#26251)

* [cppcms] fix narrowing error with clang-cl

* v db

[crc32c] Clang-cl fix  (microsoft#26253)

* [crc32c] fix clang-cl builds.

* v db

[json-c] clang-cl fix. (microsoft#26254)

* [json-c] fix clang-cl builds

* v db

[cpr] disable werror (microsoft#26252)

* [cpr] disable werror

* v db

[sqlcipher] update to 4.5.2 (microsoft#26262)

* [sqlcipher] update to 4.5.2

* requested changes

* portfile.cmake - quote paths

[osgearth] Fix naming of target and exported variables (microsoft#26258)

* [osgearth] Fix target name and match exported variables

* Fix version SHA

Add port version to baseline.

Add x64-linux build expected to fail.

Add port 0 version.

Update version database

Specify supported CI so it only build dynamic.

Update SHA.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants