-
Notifications
You must be signed in to change notification settings - Fork 428
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
What minimum version of Apple Clang should we report supporting? #26851
Comments
Paul reports that Apple clang 12.0.0.12000032 is sufficient to build Chapel as of 66b41e8 and that it corresponds to Mac OS X 10.15 / Catalina, which was EOL'd in 2022. He also confirms that by updating to #26853, he can build with Apple Clang 11. So I would propose that we update our prereqs file to list 11 as the minimum rather than 10. |
Expanding on what I reported about an hour ago in the llvm-project issue, there is a 1-line change which allows me to build Chapel's LLVM bits with Apple Clang 10 when HOWEVER, that was not sufficient:
So, unless somebody wants to address the remaining issues I've identified, I think it makes sense to document Apple Clang 11 as the minimum, as Brad has suggested.
|
I did a little poking around to see if we required clang 11 what trouble that might cause. Amazon Linux 2 (EOL June 2025), Debian Bullseye (EOL June 2026) use clang 11. Also, when working with the LLVM backend, we support LLVM 11 and newer, and in this setting, we need the corresponding version of clang to be built. LLVM 11 and clang 11 were released in 2020. I can't find any official information from the LLVM project about how many releases they support. AFAIK they basically only support the current release (in that, they don't seem to make point releases for older releases). |
Given all of that, and the issue with Apple clang 10, my recommendation is to document that we require clang 11 when using clang, including Apple clang. That makes the requirement simpler (since it also covers our minimum version for the LLVM backend) even though it's not strictly necessary. |
That sounds good to me, thanks for the additional investigation, Michael! Now we just need someone to own this glamorous task. :) |
The GASNet team has reported that:
CHPL_LLVM=none
results in a failure in the LLVM sources (also showing up on the LLVM project here: Building 16|17 with Apple clang 10 (macOS 10.13) fails due to incompatible 'optional' header llvm/llvm-project#64472 )convert-typed-uast.cpp
due to recent changes (@dlongnecke-cray is looking into this)Based on this, it seems as though we should update our minimum version of Apple Clang in prereqs.rst (currently said to be 10 due to that being LLVM's documented minimum). But to what value?
The text was updated successfully, but these errors were encountered: