aboutsummaryrefslogtreecommitdiff
path: root/libc/utils
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-02-23 14:11:31 -0600
committerGitHub <noreply@github.com>2024-02-23 14:11:31 -0600
commit1a2ecbb3980a3005c2027eb5b69bbbe32c9c8294 (patch)
treee228ecb8eb897589b4cfb68c8848437d316643f1 /libc/utils
parenta3a316e2875258929f062fbffb81e2a9d5b4ce48 (diff)
downloadllvm-1a2ecbb3980a3005c2027eb5b69bbbe32c9c8294.zip
llvm-1a2ecbb3980a3005c2027eb5b69bbbe32c9c8294.tar.gz
llvm-1a2ecbb3980a3005c2027eb5b69bbbe32c9c8294.tar.bz2
[libc] Remove 'llvm-gpu-none' directory from build (#82816)
Summary: This directory is leftover from when we handled both AMDGPU and NVPTX in the same build and merged them into a pseudo triple. Now the only thing it contains is the RPC server header. This gets rid of it, but now that it's in the base install directory we should make it clear that it's an LLVM libc header.
Diffstat (limited to 'libc/utils')
-rw-r--r--libc/utils/gpu/loader/Loader.h2
-rw-r--r--libc/utils/gpu/server/CMakeLists.txt4
-rw-r--r--libc/utils/gpu/server/llvmlibc_rpc_server.h (renamed from libc/utils/gpu/server/rpc_server.h)0
-rw-r--r--libc/utils/gpu/server/rpc_server.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/libc/utils/gpu/loader/Loader.h b/libc/utils/gpu/loader/Loader.h
index d2b2ee5..e2aabb0 100644
--- a/libc/utils/gpu/loader/Loader.h
+++ b/libc/utils/gpu/loader/Loader.h
@@ -9,7 +9,7 @@
#ifndef LLVM_LIBC_UTILS_GPU_LOADER_LOADER_H
#define LLVM_LIBC_UTILS_GPU_LOADER_LOADER_H
-#include "utils/gpu/server/rpc_server.h"
+#include "utils/gpu/server/llvmlibc_rpc_server.h"
#include "include/llvm-libc-types/test_rpc_opcodes_t.h"
diff --git a/libc/utils/gpu/server/CMakeLists.txt b/libc/utils/gpu/server/CMakeLists.txt
index 94cdfe5..745a248d 100644
--- a/libc/utils/gpu/server/CMakeLists.txt
+++ b/libc/utils/gpu/server/CMakeLists.txt
@@ -21,8 +21,8 @@ if(LLVM_RUNTIMES_TARGET OR LIBC_TARGET_TRIPLE)
endif()
# Install the server and associated header.
-install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/rpc_server.h
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/gpu-none-llvm/
+install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/llvmlibc_rpc_server.h
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
COMPONENT libc-headers)
install(TARGETS llvmlibc_rpc_server
ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX}"
diff --git a/libc/utils/gpu/server/rpc_server.h b/libc/utils/gpu/server/llvmlibc_rpc_server.h
index f1a8fe0..f1a8fe0 100644
--- a/libc/utils/gpu/server/rpc_server.h
+++ b/libc/utils/gpu/server/llvmlibc_rpc_server.h
diff --git a/libc/utils/gpu/server/rpc_server.cpp b/libc/utils/gpu/server/rpc_server.cpp
index 4e535a2..707807a 100644
--- a/libc/utils/gpu/server/rpc_server.cpp
+++ b/libc/utils/gpu/server/rpc_server.cpp
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "rpc_server.h"
+#include "llvmlibc_rpc_server.h"
#include "src/__support/RPC/rpc.h"
#include "src/stdio/gpu/file.h"