Skip to content

Commit

Permalink
Use 'common' instead of 'test' for platform config (tensorflow#7192)
Browse files Browse the repository at this point in the history
Fix tensorflow#7186

Co-authored-by: Ping Yu <4018+pyu10055@users.noreply.github.com>
  • Loading branch information
mattsoulanille and pyu10055 authored Dec 21, 2022
1 parent f9d46b6 commit 0d88a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ run --incompatible_strict_action_env
# Use a sandboxed build where available to avoid a possible issue with the rules_nodejs linker for Linux and MacOS. b/250727292
# Remote builds are sandboxed.
# TODO: Regain Windows sandboxed build when https://github.com/bazelbuild/bazel/issues/5136 fixed.
common --enable_platform_specific_config
build:linux --spawn_strategy=dynamic,remote,sandboxed,worker,local --internal_spawn_scheduler
build:macos --spawn_strategy=remote,sandboxed,worker,local
build:windows --spawn_strategy=remote,worker,local
Expand All @@ -70,7 +71,6 @@ test --action_env=BROWSERSTACK_USERNAME --action_env=BROWSERSTACK_KEY

# Platform specific DISPLAY environment variable for webgl and headless setting
# for browser tests.
test --enable_platform_specific_config
test:linux --test_env=DISPLAY
test:macos --define DISPLAY=true
test:windows --define DISPLAY=true --//:headless=false
Expand Down

0 comments on commit 0d88a30

Please # to comment.