[all-commits] [llvm/llvm-project] 3368a9: [libc] Fix installing GPU headers
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Jun 23 11:48:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3368a92b0f595c809d5dd97ce07a728a6eff73d6
https://github.com/llvm/llvm-project/commit/3368a92b0f595c809d5dd97ce07a728a6eff73d6
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-06-23 (Fri, 23 Jun 2023)
Changed paths:
M libc/CMakeLists.txt
Log Message:
-----------
[libc] Fix installing GPU headers
The patch in D152592 changed the logic for this. We could never check if
we were on the GPU as this was before the variable was defined so I
moved it later. Secondly, we cannot use the `LLVM_BINARY_DIR` here, and
I do not know if that works in general. The problem is that it will
isntall the headers under a normal path outside of the
`LLVM_ENABLE_RUNTIMES` build. I don't know if that's correct for the
other targets, but for the GPU I need to set it back to the
CMAKE_BINARY_DIR so it works.
Reviewed By: phosek
Differential Revision: https://reviews.llvm.org/D153637
More information about the All-commits
mailing list