[libc] Ensure that the required clang tools are up-to-date for libc GPU
authorJoseph Huber <jhuber6@vols.utk.edu>
Tue, 4 Apr 2023 23:20:13 +0000 (18:20 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Wed, 5 Apr 2023 00:50:32 +0000 (19:50 -0500)
commitb8fab512e9557dfcc7c886f0bf594f6c1e2f850d
treead9a8ed8fba9f5b263447104a42344ac164f6274
parentad6a7d7dc9a2055ac3a4658d90ec86d78c3199b5
[libc] Ensure that the required clang tools are up-to-date for libc GPU

The `clang-offload-packager`. `nvptx-arch`, and `amdgpu-arch` tools are
required for building the GPU target of `libc`. This patch ensures that
we build this tool when directly building `libc` via `ninja libc` or similar.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D147581
llvm/runtimes/CMakeLists.txt