Install built .whl no matter what the name is

I didn't realize that the wheel names had been changed to tf_... from tensorflow_*.

PiperOrigin-RevId: 290782437
Change-Id: Id07f0eeff1ef95388c2ba79961a075c19f1d2dcd
This commit is contained in:
Austin Anderson 2020-01-21 11:11:12 -08:00 committed by TensorFlower Gardener
parent 6f3fc0867c
commit 39f2beb018
2 changed files with 2 additions and 2 deletions

View File

@ -35,4 +35,4 @@ yes "" | /usr/local/bin/python configure.py
bazel build --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" --config=opt --config=v2 tensorflow/tools/pip_package:build_pip_package
./bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/pip_pkg --cpu --nightly_flag
ls -al /tmp/pip_pkg
pip --no-cache-dir install --upgrade /tmp/pip_pkg/tensorflow*.whl
pip --no-cache-dir install --upgrade /tmp/pip_pkg/*.whl

View File

@ -36,4 +36,4 @@ yes "" | /usr/local/bin/python configure.py
bazel build --config=cuda --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" --config=opt --config=v2 tensorflow/tools/pip_package:build_pip_package
./bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/pip_pkg --nightly_flag
ls -al /tmp/pip_pkg
pip --no-cache-dir install --upgrade /tmp/pip_pkg/tensorflow*.whl
pip --no-cache-dir install --upgrade /tmp/pip_pkg/*.whl