[libc-commits] [PATCH] D143005: [libc] Build two different static archives libc.a and libm.a under full build.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jan 31 12:00:11 PST 2023


sivachandra added inline comments.


================
Comment at: libc/lib/CMakeLists.txt:6
+  if(LIBC_TARGET_ARCHITECTURE_IS_GPU)
+    list(APPEND libc_archive_names cgpu mgpu)
+  else()
----------------
jhuber6 wrote:
> Does this omit `libm` if there are no entrypoints for it enabled? Right now I haven't begun working on any `libm` related stuff.
That's a good point. I have updated now to skip adding an archive target if the correspond entrypoint list is missing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143005



More information about the libc-commits mailing list