[libc-commits] [libc] [libc] - Add rpc_opcodes.h to list of installed headers (PR #191035)
via libc-commits
libc-commits at lists.llvm.org
Wed Apr 8 12:11:10 PDT 2026
https://github.com/estewart08 created https://github.com/llvm/llvm-project/pull/191035
There is a case when building standalone offload via runtimes where LLVM_BINARY_DIR is set to the installed llvm location. Currently, this header is not being installed and results in a build failure.
Fixes issue introduced with #190423.
>From befc970ba3b510e3077a51c16719f6eaf2ca7c25 Mon Sep 17 00:00:00 2001
From: Ethan Stewart <ethan.stewart at amd.com>
Date: Wed, 8 Apr 2026 14:09:04 -0500
Subject: [PATCH] [libc] - Add rpc_opcodes.h to list of installed headers
There is a case when building standalone offload via runtimes where
LLVM_BINARY_DIR is set to the installed llvm location. Currently, this
header is not being installed and results in a build failure.
Fixes issue introduced with #190423.
---
libc/shared/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/libc/shared/CMakeLists.txt b/libc/shared/CMakeLists.txt
index 7ceddd3e464dc..d27484909f652 100644
--- a/libc/shared/CMakeLists.txt
+++ b/libc/shared/CMakeLists.txt
@@ -3,6 +3,7 @@ set(LLVM_LIBC_SHARED_RPC_EXPORT_HEADERS
"${CMAKE_CURRENT_SOURCE_DIR}/rpc_util.h"
"${CMAKE_CURRENT_SOURCE_DIR}/rpc_dispatch.h"
"${CMAKE_CURRENT_SOURCE_DIR}/rpc_server.h"
+ "${CMAKE_CURRENT_SOURCE_DIR}/rpc_opcodes.h"
)
# Install the freestanding RPC interface to the compiler tree.
More information about the libc-commits
mailing list