clang-scan-deps: Pass ${TDFILE} to tblgen, not ${.ALLSRC}${.ALLSRC} can include the dependency OptParser.td, which causesllvm-tblgen to fail since it only accepts a single input argument.Use ${T
clang-scan-deps: Pass ${TDFILE} to tblgen, not ${.ALLSRC}${.ALLSRC} can include the dependency OptParser.td, which causesllvm-tblgen to fail since it only accepts a single input argument.Use ${TDFILE} directly instead, which matches the other invocationsof tblgen in the LLVM Makefiles.Fixes: d3c06bed2c16 ("clang: install clang-scan-deps")MFC after: 3 daysReviewed by: dimDifferential Revision: https://reviews.freebsd.org/D51569
show more ...
clang: install clang-scan-depsclang-scan-deps is used to generate dependency information from C++20modules according to proposed standard ISO/IEC WG21 P1689R5[0]. It isrequired by common build t
clang: install clang-scan-depsclang-scan-deps is used to generate dependency information from C++20modules according to proposed standard ISO/IEC WG21 P1689R5[0]. It isrequired by common build tools (e.g., CMake) to build C++ sourcesthat use modules.Since this is a core build tool, install it by default, not gatedbehind MK_CLANG_EXTRAS.[0] https://www.open-std.org/JTC1/SC22/WG21/docs/papers/2022/p1689r5.htmlMFC after: 3 daysReviewed by: kevans, dimApproved by: kevans (mentor)Requested by: jboDifferential Revision: https://reviews.freebsd.org/D51044