The target RISCVTargetParserTablegen needs to be visible for stand-alone [1] builds of clang to prevent configuration failures.
[1] https://llvm.org/docs/GettingStarted.html#stand-alone-builds
Differential D142403
[build] Fix stand-alone builds of clang. fpetrogalli on Jan 23 2023, 1:47 PM. Authored by
Details The target RISCVTargetParserTablegen needs to be visible for stand-alone [1] builds of clang to prevent configuration failures. [1] https://llvm.org/docs/GettingStarted.html#stand-alone-builds
Diff Detail
Event TimelineComment Actions This is still the wrong change IMO. I don't know, maybe I'm not being clear, but I don't 'think you ever actually tried my suggestion in D141581 which was to leave the RISCVTargetParserTableGen Depends as is and add the pseudo targets in llvm/cmake/modules/LLVMConfig.cmake.in. Comment Actions We'll get there! I think I missed the "leave the RISCVTargetParserTableGen in the DEPENDS, sorry about that. Comment Actions @tstellar , I wonder how your build (and mine too, in fact) didn't complain about the typo... luckily the bots cover this functionality! Anyway, I have re-landed it as https://reviews.llvm.org/rGaa19429b19b6a8d44a671a93bf9c00570bad53ac. |