Bugfix: change GNU triplet for iOS, watchOS, tvOS to allow simulator builds - #6748
Merged
Merged
Conversation
Member
But wouldn't this mean that if there are Conan users using the old iOS simulator we will break them? |
Contributor
Author
|
@memsharded nope, it won't break. basically, configure never ever passed for such old triplets, that's why recipes were using workarounds. |
Contributor
Author
|
for the record, the error was: (NOTICE: --build=x86_64-apple-darwin --host=x86_64-apple-darwin) after the fix, it has --build=x86_64-apple-darwin --host=x86_64-apple-ios |
Signed-off-by: SSE4 <tomskside@gmail.com>
Contributor
|
Is there a plan to get this change merged in? ping @memsharded |
Member
|
Sorry about this, merged, will be in next 1.27 |
This was referenced Feb 2, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes: #6428
Changelog: Bugfix: Change GNU triplet for iOS, watchOS, tvOS to allow simulator builds.
Docs: Omit
the issue came up several times in the past already, e.g.
conan-io/conan-center-index#1008 (comment)
bincrafters/conan-libiconv#11
currently, recipes use the following ugly workaround:
https://github.com/conan-io/conan-center-index/blob/8110cdeccead2f2d37fcea22919fe5d18f58d833/recipes/libiconv/all/conanfile.py#L106
https://github.com/conan-io/conan-center-index/blob/8110cdeccead2f2d37fcea22919fe5d18f58d833/recipes/libcurl/all/conanfile.py#L367
changes were tested locally on libiconv and libcurl
old triplet for iOS simulator was x86_64-apple-darwin (same as MacOS, which confused auto-tools configure scripts).
the new deduced triplet is x86_64-apple-ios.
sources:
LLVM
Rust
developbranch, 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.