[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:12:34 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: estewart08

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/191035.diff


1 Files Affected:

- (modified) libc/shared/CMakeLists.txt (+1) 


``````````diff
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.

``````````

</details>


https://github.com/llvm/llvm-project/pull/191035


More information about the libc-commits mailing list