Skip to content

utils: If shell.run_parallel is not called before run.shell(), then the lock is not yet initialized #6789

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

Conversation

erg
Copy link
Contributor

@erg erg commented Jan 13, 2017

Somehow, the update-checkout parallelize patch got into 3.1 without the patch that fixes it.

See #6768.

lock is not initialized. Thus, we initialize the lock to None and just
don't use it because no console output can happen in parallel because
we're not running in parallel.
@erg
Copy link
Contributor Author

erg commented Jan 13, 2017

@swift-ci Please smoke test and merge

@erg
Copy link
Contributor Author

erg commented Jan 13, 2017

Actually, the smoke test checkout might fail on linux without this patch...

@erg erg merged commit 0e1068d into swiftlang:swift-3.1-branch Jan 13, 2017
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.

1 participant