Skip to content

Commit 93eda70

Browse files
authored
fix(platforms): include flag_values in config_settings (bazel-contrib#2236)
This function that allows us to generate config settings for supported platforms did not get the flag_values addition.
1 parent 1d7fd51 commit 93eda70

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ A brief description of the categories of changes:
6060
in extra_requires in py_wheel rule.
6161
* (rules) Prevent pytest from trying run the generated stage2
6262
bootstrap .py file when using {obj}`--bootstrap_impl=script`
63+
* (toolchain) The {bzl:obj}`gen_python_config_settings` has been fixed to include
64+
the flag_values from the platform definitions.
6365

6466

6567
### Added

python/versions.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,5 +722,6 @@ def gen_python_config_settings(name = ""):
722722
for platform in PLATFORMS.keys():
723723
native.config_setting(
724724
name = "{name}{platform}".format(name = name, platform = platform),
725+
flag_values = PLATFORMS[platform].flag_values,
725726
constraint_values = PLATFORMS[platform].compatible_with,
726727
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy