[libc-commits] [PATCH] D158894: [libc] Add missing ${LIBC_INCLUDE_DIR} to object rule

Petr Hosek via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Aug 25 14:23:28 PDT 2023


phosek created this revision.
phosek added reviewers: michaelrj, sivachandra.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
phosek requested review of this revision.

This is breaking the runtimes build with llvm libc enabled.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158894

Files:
  libc/cmake/modules/LLVMLibCObjectRules.cmake


Index: libc/cmake/modules/LLVMLibCObjectRules.cmake
===================================================================
--- libc/cmake/modules/LLVMLibCObjectRules.cmake
+++ libc/cmake/modules/LLVMLibCObjectRules.cmake
@@ -360,9 +360,8 @@
     target_include_directories(
       ${fq_target_name}
       PRIVATE
-        ${LIBC_BUILD_DIR}/include
         ${LIBC_SOURCE_DIR}
-        ${LIBC_BUILD_DIR}
+        ${LIBC_INCLUDE_DIR}
     )
     target_compile_options(${fq_target_name} PRIVATE ${compile_options})
   endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158894.553625.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230825/2e0696fb/attachment.bin>


More information about the libc-commits mailing list