[clang] [Clang][SYCL] Introduce clang-sycl-link-wrapper to link SYCL offloading device code (Part 1 of many) (PR #112245)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 15:07:39 PDT 2024


llvm-beanz wrote:

> I don't know if there's some existing heuristic for what clang tools do, but generally I find it to either be something that the user interfaces in, or something that clang uses when it's building job actions. This is the latter.

Generally clang-based tools have dependencies on Clang. This tool does not (other than pulling the version number which could come from LLVM).

It only pulls in the version number. Having the tool higher in the dependency graph avoids unnecessary dependencies, improves build/test/rebuild cycles and is generally in line with how things are done.

https://github.com/llvm/llvm-project/pull/112245


More information about the cfe-commits mailing list