[libc-commits] [PATCH] D115290: [libc] fix the .yaml files not being tracked

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Dec 7 16:05:04 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG2b197888e0e3: [libc] fix the .yaml files not being tracked (authored by michaelrj).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115290/new/

https://reviews.llvm.org/D115290

Files:
  libc/cmake/modules/LLVMLibCObjectRules.cmake


Index: libc/cmake/modules/LLVMLibCObjectRules.cmake
===================================================================
--- libc/cmake/modules/LLVMLibCObjectRules.cmake
+++ libc/cmake/modules/LLVMLibCObjectRules.cmake
@@ -249,6 +249,7 @@
       COMMENT "Linting... ${target_name}"
       DEPENDS clang-tidy ${internal_target_name} ${ADD_ENTRYPOINT_OBJ_SRCS}
       WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+      BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/${target_name}.yaml
     )
 
     add_custom_target(${fq_target_name}.__lint__


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115290.392583.patch
Type: text/x-patch
Size: 536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211208/6c9f329a/attachment.bin>


More information about the libc-commits mailing list