Skip to content

Commit

Permalink
Cleanup how we access bazel in build-prereq.sh and settings.sh
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 211839502
  • Loading branch information
mdepristo authored and Copybara-Service committed Sep 6, 2018
1 parent 8cd7e95 commit 64ba4ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build-prereq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ function ensure_wanted_bazel_version {
./bazel-"${wanted_bazel_version}"-installer-linux-x86_64.sh --user
rm bazel-"${wanted_bazel_version}"-installer-linux-x86_64.sh
popd

PATH="$HOME/bin:$PATH"
fi
}

Expand Down
6 changes: 6 additions & 0 deletions settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ export CUDNN_INSTALL_PATH="/usr/lib/x86_64-linux-gnu"
# The version of bazel we want to build DeepVariant.
DV_BAZEL_VERSION="0.15.0"

# We need to make sure that $HOME/bin is first in the binary search path so that
# `bazel` will find the latest version of bazel installed in the user's home
# directory. This is set in setting.sh as all DeepVariant scripts source
# settings.sh and assume that `bazel` will find the right version.
export PATH="$HOME/bin:$PATH"

# Path to the public bucket containing DeepVariant-related artifacts.
export DEEPVARIANT_BUCKET="gs://deepvariant"
export DV_PACKAGE_BUCKET_PATH="${DEEPVARIANT_BUCKET}/packages"
Expand Down

0 comments on commit 64ba4ea

Please sign in to comment.