This patch improves the driver by making sure that it picks the system version for the deployment target when the version of the macOS SDK is newer than the system version.
Details
Details
- Reviewers
bruno dexonsmith - Commits
- rGb249c9bcf500: Recommit [driver][macOS] Pick the system version for the deployment target if…
rGdad1e1a3b50b: [driver][macOS] Pick the system version for the deployment target if the SDK is…
rC307388: Recommit [driver][macOS] Pick the system version for the
rC305678: [driver][macOS] Pick the system version for the deployment target
rL307388: Recommit [driver][macOS] Pick the system version for the
rL305678: [driver][macOS] Pick the system version for the deployment target
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Driver/ToolChains/Darwin.cpp | ||
---|---|---|
1133 ↗ | (On Diff #102425) | What these magic numbers mean (especially minor and micro versions)? |
lib/Driver/ToolChains/Darwin.cpp | ||
---|---|---|
1133 ↗ | (On Diff #102425) | I actually just took it from the function below which checks if the macOS version is valid (so we want 10.XX.XX). But looking at it again, I think that we don't really them here as the SDK version should will probably be valid. I'll update the patch and remove them from the code. |