labath wrote: Umm... could we move this logic to python, and then just pass the final tool paths (or whatever) into the makefile, like we did with the other patches (for `(HOST_)OS`, etc.) ? https://github.com/llvm/llvm-project/pull/102185