[all-commits] [llvm/llvm-project] 788d15: [libc][bazel] Allow configure options to alter all...
Guillaume Chatelet via All-commits
all-commits at lists.llvm.org
Wed Apr 24 01:33:45 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 788d1598212b402057889f5eb973b8665a735d04
https://github.com/llvm/llvm-project/commit/788d1598212b402057889f5eb973b8665a735d04
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-04-24 (Wed, 24 Apr 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
A utils/bazel/llvm-project-overlay/libc/libc_configure_options.bzl
M utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl
Log Message:
-----------
[libc][bazel] Allow configure options to alter all targets (#89251)
The previous state was leading to inconsistencies. Some targets would
get the options and some wouldn't. As an example, the `MEMORY_COPTS`
definitions would only apply to the `:string_memory_utils` target but
not to the `:memcpy` target. This patch makes sure definitions are
applied throughout the LLVM libc targets as `local_defines`. This
ensures that the preprocessor definitions don't propagate to depending
targets outside of LLVM libc, and that all libc targets have consistent
preprocessor definitions.
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