Skip to content

Make the back-deployed concurrency dylibs depend only on what's available in older runtimes #39102

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

Merged
merged 2 commits into from
Aug 31, 2021

Conversation

DougGregor
Copy link
Member

The concurrency library has some dependencies on newer Swift runtimes. Break the two immediate dependencies that cause link failures on older OS versions:

  • The check for job-based dispatch integration
  • Exclusivity set save/restore for tasks

The code that saves/restores the exclusivity checks for tasks was
newly introduced into the runtime. Clone that code into the back-
deployed version of the runtime.
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please build toolchain macOS

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 6fd85ac

@DougGregor
Copy link
Member Author

@swift-ci please smoke test macOS

@DougGregor
Copy link
Member Author

@swift-ci please build toolchain macOS

@DougGregor
Copy link
Member Author

@swift-ci please test macOS

@swift-ci
Copy link
Contributor

macOS Toolchain
Download Toolchain
Git Sha - 6fd85ac

Install command
tar -zxf swift-PR-39102-1113-osx.tar.gz --directory ~/

@DougGregor DougGregor merged commit d844d0b into swiftlang:main Aug 31, 2021
@DougGregor DougGregor deleted the back-deploy-standalone branch August 31, 2021 16:05
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.

2 participants