bazel icon indicating copy to clipboard operation
bazel copied to clipboard

Keep usePlatformsRepoForConstraints value in host cfg

Open AlessandroPatti opened this issue 2 years ago • 1 comments

The value gets reset to the default (true) so setting --noincompatible_use_platforms_repo_for_constraints has no effect if the target using the constraint is build for the host config.

Related issue: https://github.com/bazelbuild/bazel/issues/8622

AlessandroPatti avatar Aug 12 '22 12:08 AlessandroPatti

@aranguyen could you review this? I think this makes sense.

gregestren avatar Sep 21 '22 16:09 gregestren

@AlessandroPatti is this pr still in progress? There seems to be some failures in the presubmit

aranguyen avatar Sep 23 '22 16:09 aranguyen

@aranguyen No, it is ready for review. The failure was just a flake, a new run passed.

AlessandroPatti avatar Sep 24 '22 11:09 AlessandroPatti