Skip to content

Commit 82c1d10

Browse files
kanglantcopybara-github
authored andcommitted
Update configure.py to set Clang as the compiler for Linux GPU build
PiperOrigin-RevId: 540321339
1 parent aabc010 commit 82c1d10

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

site/en/install/source.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -214,22 +214,12 @@ The pip package is build in two steps. A `bazel build` commands creates a
214214
package.
215215

216216
### Build the package-builder
217-
218-
Use `bazel build` to create the TensorFlow 2.x package-builder with *CPU-only*
219-
support:
220-
221-
<pre class="devsite-terminal devsite-click-to-copy">
222-
bazel build [--config=option] //tensorflow/tools/pip_package:build_pip_package
223-
</pre>
224-
225-
#### GPU support
226-
227217
Note: GPU support can be enabled with `cuda=Y` during the `./configure` stage.
228218

229-
To build a TensorFlow package-builder with GPU support:
219+
Use `bazel build` to create the TensorFlow 2.x package-builder:
230220

231221
<pre class="devsite-terminal devsite-click-to-copy">
232-
bazel build --config=cuda [--config=option] //tensorflow/tools/pip_package:build_pip_package
222+
bazel build [--config=option] //tensorflow/tools/pip_package:build_pip_package
233223
</pre>
234224

235225
#### Bazel build options

0 commit comments

Comments
 (0)