-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
- fix iconv detection for boost.locale on iOS #83
Conversation
* clang-darwin doesn't need --start-group * clang-darwin doesn't need -lrt Signed-off-by: SSE4 <tomskside@gmail.com>
`appletv` is another Xcode clang related platform that would have the same limitations.
Is this actually a fix? You are disabling threading support for the platform because linker does not support library grouping. Since you use Clang, is not lld available for you? |
it's a fix. I am not disabling threading, just don't link to
|
You are removing
The executable usually named |
it doesn't appear to be needed per https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/pthread.3.html:
anyway, darwin (desktop macOS) is already excluded from the threading list, and I'd expect iphone/appletv to have the same behavior, as they share the same compiler/linker. |
That should have been in the commit message, or better as a comment in the code. |
Co-authored-by: SSE4 <tomskside@gmail.com>
* - fix iconv detection for boost.locale on iOS * clang-darwin doesn't need --start-group * clang-darwin doesn't need -lrt * Also need appletv to have the same exception. `appletv` is another Xcode clang related platform that would have the same limitations.
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
see bug reports:
conan-io/conan-center-index#6490
conan-io/conan-center-index#3992
boostorg/build#365
boostorg/build#678
boostorg/build#438
TLDR: building boost for iOS fails with the following error:
it's due to
gcc.jam
defining START_GROUP for everything except some while-listed targets. the list includes darwin (desktop macOS), but not iPhone (iOS). PR adds iOS to the white-list.Types of changes
What types of changes does your code introduce?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...