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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it's not needed for 10.13 and 10.14? I assume it does no harm for those versions?
I gather this forces linking against a particular libstdc++ (conda vs. xcode?). In either case, it would be good to extend the comment clarifying what this does to make
std::variant
andstd::filesystem
work. Or maybe that's a question for @erykoff ?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this is the right flag to set when building against conda libraries on macos. The point is that we don't want to check against availability of features against the system libraries because we don't use them. So the comment should be something like
This flag is required to use new features like std::variant and std::filesystem on older macos. We build against conda libraries so we do not need to check if features are supported by system libraries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So what we are really saying is that the deployment target is irrelevant when running inside conda.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost. (And our number has to be at least what conda-forge specifies which is 10.9). But when building for osx-arm64 (not the subject of this ticket!) it does actually matter.