llvm / circt

Circuit IR Compilers and Tools
https://circt.org
Other
1.57k stars 277 forks source link

Update clang to 17. #7196

Open darthscsi opened 1 week ago

darthscsi commented 1 week ago

clang-format-17 makes a few different choices than clang-format-13. v13 is almost 3 years old. Given that slang builds are already installing v16, let's just unify on v17 for CI.

teqdruid commented 1 week ago

I think it's important to run as old a version of the compiler which we want to support. I run clang-10 and Python 3.8 for exactly that reason, so we are already running a newer version than we support. If we want to require a newer version, that's a discussion. I would like to support ancient versions since some EDA build farms run pretty ancient distros.

darthscsi commented 1 week ago

We are still running gcc-11 which, while not EDA-build-farm-ancient, is still older than clang-13 and gcc is more likely to be the default compiler in EDA build farms. I suspect the primary control on older compilers is the language level we require.