[llvm] [LLVM] Fix llvm-gpu-loader use in standalone (PR #132664)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 2 03:45:02 PDT 2025


nikic wrote:

@jhuber6 The standalone build for LLVM is largely expected to work out of the box, as documented in https://llvm.org/docs/GettingStarted.html#stand-alone-builds. It lists which subprojects llvm can depend on (llvm, cmake, third-party) and only those should be necessary. We could of course add libc to that list, but making that a requirement seems of dubious value at this point. So I do think we should be catering to that use case.

I'm somewhat skeptical about the original change itself though (left a comment at https://github.com/llvm/llvm-project/pull/132096#issuecomment-2772155870). There was some discussion about adding a dependency on libc at *some* point to provide FP libcall implementations, but I didn't really expect it to be added for this reason and at this point in time (with libc's current maturity level, such as inability to be built for key platforms).

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


More information about the llvm-commits mailing list