Skip to content

MesonToolchain: guess Apple SDK path in case of cross-build on macOS if tools.apple:sdk_path not set, instead of raising an error - #12923

Merged
memsharded merged 1 commit into
conan-io:developfrom
SpaceIm:fix/meson-cross-build-macos
Jan 23, 2023
Merged

memsharded merged 1 commit into
conan-io:developfrom
SpaceIm:fix/meson-cross-build-macos

Conversation

@SpaceIm

@SpaceIm SpaceIm commented Jan 18, 2023

Copy link
Copy Markdown
Contributor

Changelog: Feature: Guess Apple SDK path in MesonToolchain in case of cross-build on macOS if tools.apple:sdk_path is not set by user.
Docs: omit

closes #12921

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.

@SpaceIm
SpaceIm force-pushed the fix/meson-cross-build-macos branch from 8b1c2b9 to 021445e Compare January 18, 2023 09:55
@memsharded

Copy link
Copy Markdown
Member

This needs to wait until #12921 (comment) is discussed, to align the behavior with Conan 2.0 expectations.

@franramirez688 franramirez688 added this to the 1.58 milestone Jan 20, 2023
@memsharded
memsharded merged commit 7b5aac2 into conan-io:develop Jan 23, 2023
@SpaceIm
SpaceIm deleted the fix/meson-cross-build-macos branch January 23, 2023 12:04
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.

[feature] MesonToolchain: guess Apple SDK path in case of cross-build if tools.apple:sdk_path not set

5 participants