diff options
author | Yifan Hong <elsk@google.com> | 2023-04-21 16:42:16 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2023-05-02 10:17:08 -0700 |
commit | e07c2e29b981b9406b59aa14aa91be8bf64f11bd (patch) | |
tree | 45fe02915d74743be7eff8cf626401c61c449457 /kleaf/clang_config.bzl | |
parent | 8bc39d82f573ade244ecbfb8e2a75fdabb05125a (diff) | |
download | linux-x86-e07c2e29b981b9406b59aa14aa91be8bf64f11bd.tar.gz |
kleaf: expose clang version in toolchain info.
... so we can check it in kernel_env.
Bug: 272164611
Change-Id: I16813d595e6c0817cf00bbf896458d94d6517419
Diffstat (limited to 'kleaf/clang_config.bzl')
-rw-r--r-- | kleaf/clang_config.bzl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kleaf/clang_config.bzl b/kleaf/clang_config.bzl index d765b54a5..1fc3bb370 100644 --- a/kleaf/clang_config.bzl +++ b/kleaf/clang_config.bzl @@ -41,7 +41,7 @@ def _impl(ctx): host_system_name = "__toolchain_host_system_name__", target_system_name = "__toolchain_target_system_name__", target_libc = "__toolchain_target_libc__", - compiler = "__toolchain_compiler__", + compiler = ctx.attr.clang_version, abi_version = "__toolchain_abi_version__", abi_libc_version = "__toolchain_abi_libc_version__", ) |