mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 01:06:05 +00:00

Summary: The libc build has a few utilties that need to be built before we can do everything in the full build. The one requirement currently is the `libc-hdrgen` binary. If we are doing a full build runtimes mode we first add `libc` to the projects list and then only use the `projects` portion to buld the `libc` portion. We also use utilities for the GPU build, namely the loader utilities. Previously we would build these tools on-demand inside of the cross-build, which tool some hacky workarounds for the dependency finding and target triple. This patch instead just builds them similarly to libc-hdrgen and then passses them in. We now either pass it manually it it was built, or just look it up like we do with the other `clang` tools. Depends on https://github.com/llvm/llvm-project/pull/84664
4 lines
63 B
CMake
4 lines
63 B
CMake
if(LLVM_INCLUDE_TESTS)
|
|
add_subdirectory(MPFRWrapper)
|
|
endif()
|