[libc-commits] [libc] [libc][mathvec] Initial commit for LIBC vector math component (PR #173058)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri Jan 9 13:52:55 PST 2026


================
@@ -2,10 +2,10 @@ set(libc_archive_targets "")
 set(libc_archive_names "")
 set(libc_archive_entrypoint_lists "")
 if(LLVM_LIBC_FULL_BUILD)
-  list(APPEND libc_archive_names c m)
-  list(APPEND libc_archive_targets libc libm)
+  list(APPEND libc_archive_names c m mvec)
+  list(APPEND libc_archive_targets libc libm libmvec)
   list(APPEND libc_archive_entrypoint_lists
-       TARGET_LIBC_ENTRYPOINTS TARGET_LIBM_ENTRYPOINTS)
+       TARGET_LIBC_ENTRYPOINTS TARGET_LIBM_ENTRYPOINTS TARGET_LIBMVEC_ENTRYPOINTS)
----------------
jhuber6 wrote:

The standard is to put this in a separate library that people can select with https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-fveclib but we could equivalently just put everything in one library and have that option just link the LLVM libm.

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


More information about the libc-commits mailing list