Closed dslm4515 closed 3 years ago
Looks like these header directories are missing, as compared to a LLVM build from BMLFS:
/usr/include/clang
/usr/include/lld
/usr/include/llvm
/usr/include/llvm-c
Also lots of missing static libraries like libLLVMX86Disassembler.a
Try to copy includes from $LLVMSRC/include or from $LLVMSRC/build/include, or try to make a Release build of LLVM/Clang. CMLFS now uses MinSizeRel by default.
I forgot about that.
Yes, when i compile llvm for like MLFS, its built as Release
and not MinSizeRel
Made the change with 00ffe39da96881852f89b9c8928cdab36e4fd09a
Made the change with 00ffe39
Bug wasn't fixed. Removal of cmake option -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON fixes it. Make a patch, please. Thank you.
Bug wasn't fixed. Removal of cmake option -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON fixes it. Make a patch, please. Thank you.
Applied via commit fe18c5a
When building mesa, build fails due to missing llvm-c headers:
If I check that directory on the system:
... and compare it to the LLVM built in MLFS:
Looks like when the system LLVM was built, some headers were not copied/generated. I will compare builds between CMLFS and BMLFS, as both should be identical (assuming both were compiled by the same patches and source)