Skip to content

Conversation

drodriguez
Copy link
Contributor

@drodriguez drodriguez commented Oct 25, 2019

When building Swift as part of an LLVM distribution the global property
JOB_POOLS would have been overriden by Swift. If one wanted parallel
linking in LLVM, the job pools setup by LLVM would have disappered.

This didn't happen in the standalone builds, because HandleLLVMOptions
is included in that case after the JOB_POOLS property would have been
initialized without APPEND.

Related to compnerd/swift-build#53

When building Swift as part of an LLVM distribution the global property
JOB_POOLS would have been overriden by Swift. If one wanted parallel
linking in LLVM, the job pools setup by LLVM would have disappered.

This didn't happen in the standalone builds, because HandleLLVMOptions
is included in that case _after_ the JOB_POOLS property would have been
initialized without APPEND.
@drodriguez drodriguez requested a review from compnerd October 25, 2019 22:41
@drodriguez
Copy link
Contributor Author

@swift-ci please smoke test

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh, thanks for chasing this down.

@compnerd compnerd merged commit 1f19c63 into swiftlang:master Oct 26, 2019
@drodriguez drodriguez deleted the cmake-dontóverwirte-job-pools branch October 28, 2019 20:34
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