[all-commits] [llvm/llvm-project] a6643f: [libc++] Add support for picolibc and newlib in RU...
Volodymyr Turanskyy via All-commits
all-commits at lists.llvm.org
Fri Nov 28 03:50:28 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a6643f27ecdaaff2945a1acd213a745c1526c525
https://github.com/llvm/llvm-project/commit/a6643f27ecdaaff2945a1acd213a745c1526c525
Author: Volodymyr Turanskyy <vturanskyy at gmail.com>
Date: 2025-11-28 (Fri, 28 Nov 2025)
Changed paths:
M libcxx/CMakeLists.txt
M libcxx/include/__config_site.in
M libcxx/include/__configuration/platform.h
M libcxx/include/__cxx03/__fwd/ios.h
M libcxx/include/__cxx03/__locale
M libcxx/include/__cxx03/__locale_dir/locale_base_api.h
M libcxx/include/__cxx03/fstream
M libcxx/include/__cxx03/locale
M libcxx/include/__cxx03/regex
M libcxx/include/__fwd/ios.h
M libcxx/include/__locale
M libcxx/include/__locale_dir/messages.h
M libcxx/include/fstream
M libcxx/include/regex
M libcxx/src/include/config_elast.h
M libcxx/src/locale.cpp
M libcxx/test/libcxx/system_reserved_names.gen.py
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
M libcxx/test/support/platform_support.h
M libcxx/utils/ci/run-buildbot
M runtimes/cmake/Modules/HandleLibC.cmake
Log Message:
-----------
[libc++] Add support for picolibc and newlib in RUNTIMES_USE_LIBC (#147956)
This replaces detection of picolibc in libc++ (by checking for and
including picolibc.h) with using RUNTIMES_USE_LIBC build time option
intriduced in https://github.com/llvm/llvm-project/pull/134893
RUNTIMES_USE_LIBC is extended to accept picolibc and newlib.
Detection of picolibc via the header is kept as a deprecated feature to
avoid breaking builds.
libc++ is updated to use dedicated LIBCXX_LIBC_NEWLIB macro to check for
newlib specific conditions instead of less informative _NEWLIB_VERSION
---------
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
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