-
Notifications
You must be signed in to change notification settings - Fork 214
Added .bazelversion to be consitent with the TF build process #340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added .bazelversion to be consitent with the TF build process #340
Conversation
Could you add a note to |
CONTRIBUTING.md
Outdated
@@ -44,6 +44,11 @@ configuration script (`./configure`), and copy the resulting | |||
`.tf_configure.bazelrc` to `tensorflow-core-api`. This overrides the default options, and you can add to it manually (i.e. adding `build --copt="-g"` | |||
to build with debugging info). | |||
|
|||
The `tensorflow-core/tensorflow-core-api/.bazelversion` file must be kept in sync with `@org_tensorflow/.bazel_version`. | |||
This allows using [Bazelisk](https://github.com/bazelbuild/bazelisk) which runs the bazel version given in .bazelversion instead of having to | |||
physically reinstall a specifc `bazel` version each time the TensorFlow version changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"specifc" -> "specific"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
CONTRIBUTING.md
Outdated
@@ -44,6 +44,11 @@ configuration script (`./configure`), and copy the resulting | |||
`.tf_configure.bazelrc` to `tensorflow-core-api`. This overrides the default options, and you can add to it manually (i.e. adding `build --copt="-g"` | |||
to build with debugging info). | |||
|
|||
The `tensorflow-core/tensorflow-core-api/.bazelversion` file must be kept in sync with `@org_tensorflow/.bazel_version`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
must be
(two spaces) -> "must be"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
Added
.bazelversion
totensorflow-core-api
to be consistent with the TF Build process defined at Build from source. The TF build source recommends using Bazelisk which runs thebazel
version given in.bazelversion
. Otherwise, the exact matchingbazel
version will need to be installed for each TF version.This file needs to be kept in sync with
@org_tensorflow/.bazel_version
.