Skip to content
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

Bump LLVM minimum from 7 to 9 #1441

Merged
merged 3 commits into from
Dec 9, 2021

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Nov 24, 2021

Among other cruft that existed to support versions 7 and 8, this lets
us completely get rid of PrePromoteLogicalOpsOnBitMasks custom pass,
which is only needed for LLVM < 8.

Also get rid of some cmake checks for LLVM versions that require
C++14 or higher -- not necessary now that C++14 is our minimum.

Signed-off-by: Larry Gritz [email protected]

Among other cruft that existed to support versions 7 and 8, this lets
us completely get rid of PrePromoteLogicalOpsOnBitMasks custom pass,
which is only needed for LLVM < 8.

Also get rid of some cmake checks for LLVM versions that require
C++14 or higher -- not necessary now that C++14 is our minimum.

Signed-off-by: Larry Gritz <[email protected]>
@lgritz lgritz requested a review from AlexMWells November 24, 2021 19:54
Copy link
Contributor

@AlexMWells AlexMWells left a comment

Choose a reason for hiding this comment

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

LGTM.
Only concern is if someone tries to use this with older LLVM version a lot of teeth to warn them of pitfalls are now gone.

@lgritz
Copy link
Collaborator Author

lgritz commented Nov 24, 2021

This is only future releases, won't be backported to the current release branch. There are no "pitfalls", it's a hard error when compiling llvm_util.cpp to have a version of LLVM that is < 9.0.

We cleared this a couple months back, both on the mail list and in the TSC, and there were no objections. I was just waiting for some changes to the aswf-docker containers, which had a couple of the VFX Platform year containers that lacked a sufficiently new LLVM, so I didn't want to push forward with this approved change it was going to break our CI. But that was recently fixed with the Conan build availability.

@lgritz lgritz merged commit eb35c61 into AcademySoftwareFoundation:main Dec 9, 2021
@lgritz lgritz deleted the lg-llvmbump branch December 12, 2021 23:29
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.

3 participants