RFC: Download and build Polly when USE_POLLY=1 #16726
Merged
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.
This enables the build process to automatically download and build Polly. An earlier version of this functionality has already been part of #16531, but as proposed by @tkelman I've set up this separate PR for it.
In its current state, this PR allows to enable Polly more easily - it only requires the following lines in a
Make.user
file and its no longer needed to download/build Polly+LLVM yourself:As you can see, it is currently required to use the svn version of LLVM for this. However, if desired I can generalize this and test whether it is possible to use older versions of Polly/LLVM as well here (so far this was not my primary focus for this).
If there's anything that's unclear or if there's something important that I missed, I'll be glad about questions/comments/advice.
@TobiG @vtjnash @timholy