[libc-commits] [libc] [libc] newheadergen: configured cmake (PR #98828)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Mon Jul 15 15:43:57 PDT 2024
================
@@ -144,18 +243,18 @@ function(add_gen_header target_name)
file(MAKE_DIRECTORY ${LIBC_INCLUDE_DIR}/llvm-libc-decls/gpu)
set(decl_out_file ${LIBC_INCLUDE_DIR}/llvm-libc-decls/${relative_path})
add_custom_command(
- OUTPUT ${decl_out_file}
- COMMAND ${hdrgen_exe} -o ${decl_out_file}
- --header ${ADD_GEN_HDR_GEN_HDR} --def ${in_file} --export-decls
- ${replacement_params} -I ${LIBC_SOURCE_DIR} ${ENTRYPOINT_NAME_LIST_ARG}
- ${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/api.td
+ OUTPUT ${decl_out_file}
----------------
michaelrj-google wrote:
why is this changed?
https://github.com/llvm/llvm-project/pull/98828
More information about the libc-commits
mailing list