Internal change to libtensorflow builds.
PiperOrigin-RevId: 354160743 Change-Id: Id79e0dace9bca393ef135db14df713bf20c74d96
This commit is contained in:
parent
150bad0f8b
commit
f40e2d37c5
@ -34,7 +34,7 @@ if [[ "$IS_NIGHTLY" -eq 1 ]]; then
|
|||||||
# Copy the nightly version update script
|
# Copy the nightly version update script
|
||||||
cp tensorflow/tools/ci_build/builds/libtensorflow_nightly_symlink.sh lib_package
|
cp tensorflow/tools/ci_build/builds/libtensorflow_nightly_symlink.sh lib_package
|
||||||
|
|
||||||
echo "This package was built on $(date)" >> /lib_package/build_time.txt
|
echo "This package was built on $(date)" >> lib_package/build_time.txt
|
||||||
|
|
||||||
tar -zcvf macos_cpu_libtensorflow_binaries.tar.gz lib_package
|
tar -zcvf macos_cpu_libtensorflow_binaries.tar.gz lib_package
|
||||||
|
|
||||||
|
@ -27,17 +27,17 @@ which bazel
|
|||||||
sudo apt-get install realpath
|
sudo apt-get install realpath
|
||||||
|
|
||||||
# Update the version string to nightly
|
# Update the version string to nightly
|
||||||
if [ -n "${IS_NIGHTLY_BUILD}" ]; then
|
if [ -n "${IS_NIGHTLY}" ]; then
|
||||||
./tensorflow/tools/ci_build/update_version.py --nightly
|
./tensorflow/tools/ci_build/update_version.py --nightly
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./tensorflow/tools/ci_build/linux/libtensorflow.sh
|
./tensorflow/tools/ci_build/linux/libtensorflow.sh
|
||||||
|
|
||||||
# Copy the nightly version update script
|
# Copy the nightly version update script
|
||||||
if [ -n "${IS_NIGHTLY_BUILD}" ]; then
|
if [ -n "${IS_NIGHTLY}" ]; then
|
||||||
cp tensorflow/tools/ci_build/builds/libtensorflow_nightly_symlink.sh lib_package
|
cp tensorflow/tools/ci_build/builds/libtensorflow_nightly_symlink.sh lib_package
|
||||||
|
|
||||||
echo "This package was built on $(date)" >> /lib_package/build_time.txt
|
echo "This package was built on $(date)" >> lib_package/build_time.txt
|
||||||
|
|
||||||
tar -zcvf ubuntu_cpu_libtensorflow_binaries.tar.gz lib_package
|
tar -zcvf ubuntu_cpu_libtensorflow_binaries.tar.gz lib_package
|
||||||
|
|
||||||
|
@ -28,17 +28,17 @@ sudo apt-get install realpath
|
|||||||
export TF_NEED_CUDA=1
|
export TF_NEED_CUDA=1
|
||||||
|
|
||||||
# Update the version string to nightly
|
# Update the version string to nightly
|
||||||
if [ -n "${IS_NIGHTLY_BUILD}" ]; then
|
if [ -n "${IS_NIGHTLY}" ]; then
|
||||||
./tensorflow/tools/ci_build/update_version.py --nightly
|
./tensorflow/tools/ci_build/update_version.py --nightly
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./tensorflow/tools/ci_build/linux/libtensorflow.sh
|
./tensorflow/tools/ci_build/linux/libtensorflow.sh
|
||||||
|
|
||||||
# Copy the nightly version update script
|
# Copy the nightly version update script
|
||||||
if [ -n "${IS_NIGHTLY_BUILD}" ]; then
|
if [ -n "${IS_NIGHTLY}" ]; then
|
||||||
cp tensorflow/tools/ci_build/builds/libtensorflow_nightly_symlink.sh lib_package
|
cp tensorflow/tools/ci_build/builds/libtensorflow_nightly_symlink.sh lib_package
|
||||||
|
|
||||||
echo "This package was built on $(date)" >> /lib_package/build_time.txt
|
echo "This package was built on $(date)" >> lib_package/build_time.txt
|
||||||
|
|
||||||
tar -zcvf ubuntu_gpu_libtensorflow_binaries.tar.gz lib_package
|
tar -zcvf ubuntu_gpu_libtensorflow_binaries.tar.gz lib_package
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user