Create bazel release configs for GPU Windows branches and propagate those changes to nightly release jobs.
PiperOrigin-RevId: 322461877 Change-Id: Ie6d23f22d4246b0d2ea6ce4805e0873a11366f17
This commit is contained in:
parent
4e4cfe7e65
commit
649793de15
11
.bazelrc
11
.bazelrc
@ -81,11 +81,13 @@
|
||||
#
|
||||
# Release build options (for all operating systems)
|
||||
# release_common: Common options for all builds on all operating systems.
|
||||
# release_windows_common: Common options for all builds on Windows.
|
||||
# release_gpu_common: Common options for GPU builds on Linux and Windows.
|
||||
# release_cpu_linux: Toolchain and CUDA options for Linux CPU builds.
|
||||
# release_cpu_macos: Toolchain and CUDA options for MacOS CPU builds.
|
||||
# release_gpu_linux: Toolchain and CUDA options for Linux GPU builds.
|
||||
# release_cpu_windows: Toolchain and CUDA options for Windows CPU builds.
|
||||
# release_gpu_windows: Toolchain and CUDA options for Windows GPU builds.
|
||||
|
||||
# Allow builds using libc++ as a linker library
|
||||
# This is mostly for OSSFuzz, so we also pass in the flags from environment to clean build file
|
||||
@ -572,5 +574,10 @@ build:release_gpu_linux --config=release_gpu_common
|
||||
build:release_gpu_linux --config=avx_linux
|
||||
build:release_gpu_linux --crosstool_top=//third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.1:toolchain
|
||||
|
||||
build:release_cpu_windows --config=release_common
|
||||
build:release_cpu_windows --announce_rc
|
||||
build:release_windows_common --config=release_common
|
||||
build:release_windows_common --define=no_tensorflow_py_deps=true
|
||||
build:release_windows_common --announce_rc
|
||||
|
||||
build:release_cpu_windows --config=release_windows_common
|
||||
|
||||
build:release_gpu_windows --config=release_windows_common
|
||||
|
@ -17,4 +17,4 @@ SET PYTHON_DIRECTORY=Python35
|
||||
|
||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||
|
||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --tf_nightly --extra_build_flags "--config=v2"
|
||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --tf_nightly --extra_build_flags "--config=release_gpu_windows"
|
||||
|
@ -17,4 +17,4 @@ SET PYTHON_DIRECTORY=Python36
|
||||
|
||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||
|
||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --tf_nightly --extra_build_flags "--config=v2"
|
||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --tf_nightly --extra_build_flags "--config=release_gpu_windows"
|
||||
|
@ -17,4 +17,4 @@ SET PYTHON_DIRECTORY=Python37
|
||||
|
||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||
|
||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --tf_nightly --extra_build_flags "--config=v2"
|
||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --tf_nightly --extra_build_flags "--config=release_gpu_windows"
|
||||
|
@ -17,4 +17,4 @@ SET PYTHON_DIRECTORY=Python38
|
||||
|
||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||
|
||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --tf_nightly --extra_build_flags "--config=v2"
|
||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --tf_nightly --extra_build_flags "--config=release_gpu_windows"
|
||||
|
@ -138,7 +138,7 @@ fi
|
||||
|
||||
run_configure_for_gpu_build
|
||||
|
||||
bazel build --announce_rc --config=opt --define=no_tensorflow_py_deps=true \
|
||||
bazel \
|
||||
--output_filter=^$ \
|
||||
${EXTRA_BUILD_FLAGS} \
|
||||
tensorflow/tools/pip_package:build_pip_package || exit $?
|
||||
|
Loading…
Reference in New Issue
Block a user