[libc-commits] [libc] 121f38c - [libc] - Add rpc_opcodes.h to list of installed headers (#191035)

via libc-commits libc-commits at lists.llvm.org
Wed Apr 8 12:18:10 PDT 2026


Author: estewart08
Date: 2026-04-08T19:18:04Z
New Revision: 121f38c69f44108c543152d990f1d3729d72fa1d

URL: https://github.com/llvm/llvm-project/commit/121f38c69f44108c543152d990f1d3729d72fa1d
DIFF: https://github.com/llvm/llvm-project/commit/121f38c69f44108c543152d990f1d3729d72fa1d.diff

LOG: [libc] - Add rpc_opcodes.h to list of installed headers (#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.

Added: 
    

Modified: 
    libc/shared/CMakeLists.txt

Removed: 
    


################################################################################
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