[all-commits] [llvm/llvm-project] 9bc294: [libc] Build the GPU during the projects setup lik...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Mar 11 07:19:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9bc294f9be257eca655807a2d598225dcf4290ee
https://github.com/llvm/llvm-project/commit/9bc294f9be257eca655807a2d598225dcf4290ee
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libc/CMakeLists.txt
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/utils/CMakeLists.txt
M libc/utils/gpu/CMakeLists.txt
M libc/utils/gpu/loader/CMakeLists.txt
M libc/utils/gpu/loader/amdgpu/CMakeLists.txt
M libc/utils/gpu/loader/nvptx/CMakeLists.txt
M libc/utils/gpu/server/CMakeLists.txt
M llvm/CMakeLists.txt
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[libc] Build the GPU during the projects setup like libc-hdrgen (#84667)
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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list