Mark Millard <[email protected]> writes: > FAILED: [code=1] src/amd/llvm/libamd_common_llvm.a.p/ac_llvm_helper.cpp.o > c++ . . . -c ../src/amd/llvm/ac_llvm_helper.cpp > ../src/amd/llvm/ac_llvm_helper.cpp:103:36: error: no viable conversion > from 'const std::string' (aka 'const basic_string<char>') to 'Triple' > 103 | > unwrap(module)->setTargetTriple(TM->getTargetTriple().getTriple()); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixed in https://gitlab.freedesktop.org/mesa/mesa/-/commit/0e7c94b2b369 Try the patch in bug 290874 or full updates in bug 294948 and bug 294957. Alternatively, mesa-devel has better support for recent LLVM versions but requires DEFAULT_VERSIONS+=gl=mesa-devel to avoid pulling mesa-dri as dependency.
