Skip to content

Commit

Permalink
bazelrc: Add platform-specific --action_env=PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCousineau-TRI committed Dec 21, 2018
1 parent 9eeb19f commit ae25731
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/macos.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ build --action_env=DRAKE_PYTHON_BIN_PATH=/usr/local/bin/python2
# Explicit configuration for Python 3.
build:python3 --python_path=/usr/local/bin/python3
build:python3 --action_env=DRAKE_PYTHON_BIN_PATH=/usr/local/bin/python3

# Configure ${PATH} for actions (#10304).
build --action_env=PATH=/usr/local/bin:/usr/bin:/bin
3 changes: 3 additions & 0 deletions tools/ubuntu-bionic.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ build --action_env=DRAKE_PYTHON_BIN_PATH=/usr/bin/python2
# Explicit configuration for Python 3.
build:python3 --python_path=/usr/bin/python3
build:python3 --action_env=DRAKE_PYTHON_BIN_PATH=/usr/bin/python3

# Configure ${PATH} for actions (#10304).
build --action_env=PATH=/usr/bin:/bin
3 changes: 3 additions & 0 deletions tools/ubuntu-xenial.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ build --action_env=DRAKE_PYTHON_BIN_PATH=/usr/bin/python2
# Explicit configuration for Python 3.
build:python3 --python_path=/usr/bin/python3
build:python3 --action_env=DRAKE_PYTHON_BIN_PATH=/usr/bin/python3

# Configure ${PATH} for actions (#10304).
build --action_env=PATH=/usr/bin:/bin

0 comments on commit ae25731

Please sign in to comment.