[libc-commits] [PATCH] D141426: [libc] Use a prebuilt libc-hdrgen binary if available.

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jan 27 12:17:03 PST 2023


jhuber6 added inline comments.


================
Comment at: libc/CMakeLists.txt:155-156
-  # We need to set up hdrgen first since other targets depend on it.
-  add_subdirectory(utils/LibcTableGenUtil)
-  add_subdirectory(utils/HdrGen)
-endif()
----------------
```
CMake Error at /home/jhuber/Documents/llvm/llvm-project/libc/utils/HdrGen/CMakeLists.txt:3 (add_tablegen):
  Unknown CMake command "add_tablegen".
```
This gives me the following error when I run with `-DLLVM_ENABLE_RUNTIMES=libc`. I remember adding this code to work around it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141426



More information about the libc-commits mailing list