[all-commits] [llvm/llvm-project] f9146c: [libc][bazel] explicitly use system-provided errno...

Alexey Samsonov via All-commits all-commits at lists.llvm.org
Mon Mar 10 13:28:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9146ccbe940d8b8eb15e7686a511a28eb0abc6b
      https://github.com/llvm/llvm-project/commit/f9146ccbe940d8b8eb15e7686a511a28eb0abc6b
  Author: Alexey Samsonov <vonosmas at gmail.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/libc/libc_configure_options.bzl

  Log Message:
  -----------
  [libc][bazel] explicitly use system-provided errno in Bazel builds. (#130663)

Addressing the comments from PR #130368 review. Since Bazel builds are
effectively overlay mode, switch to explicitly setting
-DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_SYSTEM configuration option, so that
unit tests and release builds are consistent. Verified that all the unit
tests pass with this flag specified.



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