[all-commits] [llvm/llvm-project] e0ae77: [libc] delete hdrgen (#117220)

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Tue Dec 3 12:34:49 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0ae7793fca0c78919bc41ffd407acb62146ad47
      https://github.com/llvm/llvm-project/commit/e0ae7793fca0c78919bc41ffd407acb62146ad47
  Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M libc/CMakeLists.txt
    M libc/cmake/modules/LLVMLibCHeaderRules.cmake
    R libc/config/baremetal/api.td
    R libc/config/gpu/api.td
    R libc/config/linux/api.td
    R libc/config/public_api.td
    M libc/docs/dev/header_generation.rst
    M libc/docs/gpu/building.rst
    M libc/include/CMakeLists.txt
    R libc/spec/bsd_ext.td
    R libc/spec/gnu_ext.td
    R libc/spec/gpu_ext.td
    R libc/spec/linux.td
    R libc/spec/llvm_libc_ext.td
    R libc/spec/llvm_libc_stdfix_ext.td
    R libc/spec/posix.td
    R libc/spec/spec.td
    R libc/spec/stdc.td
    R libc/spec/stdc_ext.td
    M libc/test/src/CMakeLists.txt
    R libc/utils/HdrGen/CMakeLists.txt
    R libc/utils/HdrGen/Command.cpp
    R libc/utils/HdrGen/Command.h
    R libc/utils/HdrGen/Generator.cpp
    R libc/utils/HdrGen/Generator.h
    R libc/utils/HdrGen/IncludeFileCommand.cpp
    R libc/utils/HdrGen/IncludeFileCommand.h
    R libc/utils/HdrGen/Main.cpp
    R libc/utils/HdrGen/PrototypeTestGen/CMakeLists.txt
    R libc/utils/HdrGen/PrototypeTestGen/PrototypeTestGen.cpp
    R libc/utils/HdrGen/PublicAPICommand.cpp
    R libc/utils/HdrGen/PublicAPICommand.h
    R libc/utils/HdrGen/README.md
    R libc/utils/LibcTableGenUtil/APIIndexer.cpp
    R libc/utils/LibcTableGenUtil/APIIndexer.h
    R libc/utils/LibcTableGenUtil/CMakeLists.txt
    M llvm/CMakeLists.txt
    M llvm/runtimes/CMakeLists.txt

  Log Message:
  -----------
  [libc] delete hdrgen (#117220)

Thanks to the effort of @RoseZhang03 and @aaryanshukla under the
guidance of
@michaelrj-google and @amykhuang, we now have newhdrgen and no longer
have a
dependency on TableGen and thus LLVM in order to start bootstrapping a
full
build.

This PR removes:
- LIBC_HDRGEN_EXE; the in tree newhdrgen is the only hdrgen that can be
used.
- LIBC_USE_NEW_HEADER_GEN; newhdrgen is the default and only option.
- LIBC_HDRGEN_ONLY; there is no need to have a distinct build step for
old
  hdrgen.
- libc-api-test and libc-api-test-tidy build targets.
- Deletes all .td files.

It does not rename newhdrgen to just hdrgen. Will follow up with a
distinct PR
for that.

Link: #117209
Link: #117254
Fixes: #117208



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list