[libc-commits] [libc] [libc] Restore DECLS_FILE_PATH property (PR #99583)

via libc-commits libc-commits at lists.llvm.org
Thu Jul 18 19:47:22 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Michael Jones (michaelrj-google)

<details>
<summary>Changes</summary>

The DECLS_FILE_PATH property is supposed to be set on the targets for
the generated headers for the GPU build installation. It got missed when
creating the cmake rule for new headergen.


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


1 Files Affected:

- (modified) libc/cmake/modules/LLVMLibCHeaderRules.cmake (+1) 


``````````diff
diff --git a/libc/cmake/modules/LLVMLibCHeaderRules.cmake b/libc/cmake/modules/LLVMLibCHeaderRules.cmake
index 91054810f5ec5..3049f4db7301f 100644
--- a/libc/cmake/modules/LLVMLibCHeaderRules.cmake
+++ b/libc/cmake/modules/LLVMLibCHeaderRules.cmake
@@ -160,6 +160,7 @@ function(add_gen_header2 target_name)
     ${fq_target_name}
     PROPERTIES
       HEADER_FILE_PATH ${out_file}
+      DECLS_FILE_PATH "${decl_out_file}"
       DEPS "${fq_deps_list}"
   )
 

``````````

</details>


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


More information about the libc-commits mailing list