Skip to content

Commit

Permalink
Expose get_cpu_value in toolchain_config_utils.bzl
Browse files Browse the repository at this point in the history
Copybara Import from #283

BEGIN_PUBLIC
Expose get_cpu_value in toolchain_config_utils.bzl (#283)

Addressing bazelbuild/bazel-central-registry#3260 (comment)

Closes #283
END_PUBLIC

COPYBARA_INTEGRATE_REVIEW=#283 from bazelbuild:meteorcloudy-patch-5 8d7f986
PiperOrigin-RevId: 700977422
Change-Id: I979446d5d79d8da465ec538632326d6d2c6932f7
  • Loading branch information
meteorcloudy authored and copybara-github committed Nov 28, 2024
1 parent 8395ec0 commit 5be90a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cc/toolchains/toolchain_config_utils.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
"""Exposing some helper functions for configure cc toolchains."""

load("//cc/private/toolchain:cc_configure.bzl", _MSVC_ENVVARS = "MSVC_ENVVARS")
load("//cc/private/toolchain:lib_cc_configure.bzl", _escape_string = "escape_string")
load("//cc/private/toolchain:lib_cc_configure.bzl", _escape_string = "escape_string", _get_cpu_value = "get_cpu_value")
load("//cc/private/toolchain:windows_cc_configure.bzl", _find_vc_path = "find_vc_path", _setup_vc_env_vars = "setup_vc_env_vars")

MSVC_ENVVARS = _MSVC_ENVVARS

find_vc_path = _find_vc_path
setup_vc_env_vars = _setup_vc_env_vars
escape_string = _escape_string
get_cpu_value = _get_cpu_value

0 comments on commit 5be90a4

Please sign in to comment.