mesa 21.0.0 doesn't build with llvm/clang 12.0.0 rc2 in rawhide
In file included from /usr/include/llvm/IR/DataLayout.h:26,
from /usr/include/llvm/IR/Module.h:25,
from ../src/gallium/frontends/clover/llvm/codegen.hpp:35,
from ../src/gallium/frontends/clover/llvm/invocation.cpp:52:
/usr/include/llvm/IR/DerivedTypes.h:535:10: note: declared here
535 | unsigned VectorType::getNumElements() const {
| ^~~~~~~~~~
../src/gallium/frontends/clover/llvm/invocation.cpp: In function ‘std::unique_ptr<clang::CompilerInstance> {anonymous}::create_compiler_instance(const clover::device&, const string&, const std::vector<std::__cxx11::basic_string<char> >&, std::string&)’:
../src/gallium/frontends/clover/llvm/invocation.cpp:252:55: error: cannot convert ‘clang::PreprocessorOptions’ to ‘std::vector<std::__cxx11::basic_string<char> >&’
252 | c->getPreprocessorOpts(),
| ~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::PreprocessorOptions
In file included from /usr/include/clang/Frontend/CompilerInstance.h:15,
from ../src/gallium/frontends/clover/llvm/codegen.hpp:37,
from ../src/gallium/frontends/clover/llvm/invocation.cpp:52:
/usr/include/clang/Frontend/CompilerInvocation.h:183:45: note: initializing argument 4 of ‘static void clang::CompilerInvocation::setLangDefaults(clang::LangOptions&, clang::InputKind, const llvm::Triple&, std::vector<std::__cxx11::basic_string<char> >&, clang::LangStandard::Kind)’
183 | std::vector<std::string> &Includes,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
See https://koji.fedoraproject.org/koji/taskinfo?taskID=63644915