Lines Matching +full:cross +full:- +full:ios +full:- +full:build
2 # This file tries to group and simplify build options for TensorFlow
4 # ----CONFIG OPTIONS----
12 # iOS options:
13 # ios:
25 # c++17: Build with C++17 options (links with libc++)
26 # c++1z: Build with C++17 options (links with libc++)
27 # c++17_gcc: Build with C++17 options (links with stdlibc++)
28 # c++1z_gcc: Build with C++17 options (links with stdlibc++)
29 # avx_linux: Build with avx instruction set on linux.
30 # avx2_linux: Build with avx2 instruction set on linux.
31 # native_arch_linux: Build with instruction sets available to the host machine on linux
32 # avx_win: Build with avx instruction set on windows
33 # avx2_win: Build with avx2 instruction set on windows
35 # Other build options:
36 # short_logs: Only log errors during build, skip warnings.
37 # verbose_logs: Show all compiler warnings during build.
38 # monolithic: Build all TF C++ code into a single shared object.
41 # asan: Build with the clang address sanitizer
42 # msan: Build with the clang memory sanitizer
43 # ubsan: Build with the clang undefined behavior sanitizer
47 # v1: Build TF V1 (without contrib)
48 # v2: Build TF v2
51 # xla: Build TF with XLA
52 # tpu: Build TF with TPU support
53 # using_cuda: CUDA is available to build system.
54 # cuda: Build with full cuda support.
55 # rocm: Build with AMD GPU support (rocm).
65 # Remote build execution options (only configured to work with TF team projects for now.)
70 # rbe_cpu_linux: RBE options to build with only CPU support.
71 # rbe_linux_cuda_nvcc_py*: RBE options to build with GPU support using nvcc.
79 # tensorflow_testing_rbe_linux: RBE options to use RBE with tensorflow-testing project on linux
80 # tensorflow_testing_rbe_win: RBE options to use RBE with tensorflow-testing project on windo…
82 # Embedded Linux options (experimental and only tested with TFLite build yet)
87 # Release build options (for all operating systems)
99 # This is mostly for OSSFuzz, so we also pass in the flags from environment to clean build file
100 build:libc++ --action_env=CC
101 build:libc++ --action_env=CXX
102 build:libc++ --action_env=CXXFLAGS=-stdlib=libc++
103 build:libc++ --action_env=PATH
104 build:libc++ --define force_libcpp=enabled
105 build:libc++ --linkopt -fuse-ld=lld
107 # Android configs. Bazel needs to have --cpu and --fat_apk_cpu both set to the
108 # target CPU to build transient dependencies correctly. See
109 # https://docs.bazel.build/versions/master/user-manual.html#flag--fat_apk_cpu
110 build:android --crosstool_top=//external:android/crosstool
111 build:android --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
112 build:android_arm --config=android
113 build:android_arm --cpu=armeabi-v7a
114 build:android_arm --fat_apk_cpu=armeabi-v7a
115 build:android_arm64 --config=android
116 build:android_arm64 --cpu=arm64-v8a
117 build:android_arm64 --fat_apk_cpu=arm64-v8a
118 build:android_x86 --config=android
119 build:android_x86 --cpu=x86
120 build:android_x86 --fat_apk_cpu=x86
121 build:android_x86_64 --config=android
122 build:android_x86_64 --cpu=x86_64
123 build:android_x86_64 --fat_apk_cpu=x86_64
126 build --apple_platform_type=macos
128 # iOS configs for each architecture and the fat binary builds.
129 build:ios --apple_platform_type=ios
130 build:ios --apple_bitcode=embedded --copt=-fembed-bitcode
131 build:ios --copt=-Wno-c++11-narrowing
132 build:ios_armv7 --config=ios
133 build:ios_armv7 --cpu=ios_armv7
134 build:ios_arm64 --config=ios
135 build:ios_arm64 --cpu=ios_arm64
136 build:ios_i386 --config=ios
137 build:ios_i386 --cpu=ios_i386
138 build:ios_x86_64 --config=ios
139 build:ios_x86_64 --cpu=ios_x86_64
140 build:ios_fat --config=ios
141 build:ios_fat --ios_multi_cpus=armv7,arm64,i386,x86_64
144 build:macos_arm64 --config=macos
145 build:macos_arm64 --apple_platform_type=macos
146 build:macos_arm64 --cpu=darwin_arm64
148 # Config to use a mostly-static build and disable modular op registration
150 # By default, TensorFlow will build with a dependence on
152 build:monolithic --define framework_shared_object=false
154 # For projects which use TensorFlow as part of a Bazel build process, putting
155 # nothing in a bazelrc will default to a monolithic build. The following line
157 build --define framework_shared_object=true
160 build --java_toolchain=@org_tensorflow//third_party/toolchains/java:tf_java_toolchain
161 build --host_java_toolchain=@org_tensorflow//third_party/toolchains/java:tf_java_toolchain
165 # environment variable "TF_MKL_ROOT" every time before build.
166 build:mkl --define=build_with_mkl=true --define=enable_mkl=true
167 build:mkl --define=tensorflow_mkldnn_contraction_kernel=0
168 build:mkl --define=build_with_openmp=true
169 build:mkl -c opt
171 # config to build OneDNN backend with a user specified threadpool.
172 build:mkl_threadpool --define=build_with_mkl=true --define=enable_mkl=true
173 build:mkl_threadpool --define=tensorflow_mkldnn_contraction_kernel=0
174 build:mkl_threadpool --define=build_with_mkl_opensource=true
175 build:mkl_threadpool --define=build_with_mkldnn_threadpool=true
176 build:mkl_threadpool -c opt
178 # Config setting to build with oneDNN and without the binary blob
179 build:mkl_opensource_only --define=build_with_mkl=true --define=enable_mkl=true
180 build:mkl_opensource_only --define=tensorflow_mkldnn_contraction_kernel=0
181 build:mkl_opensource_only --define=build_with_mkl_opensource=true
182 build:mkl_opensource_only --define=build_with_openmp=true
183 build:mkl_opensource_only -c opt
185 # Config setting to build with oneDNN for Arm.
186 build:mkl_aarch64 --define=build_with_mkl_aarch64=true --define=enable_mkl=true
187 build:mkl_aarch64 --define=tensorflow_mkldnn_contraction_kernel=0
188 build:mkl_aarch64 --define=build_with_mkl_opensource=true
189 build:mkl_aarch64 -c opt
192 # mean that we build CUDA op kernels.
193 build:using_cuda --define=using_cuda=true
194 build:using_cuda --action_env TF_NEED_CUDA=1
195 build:using_cuda --crosstool_top=@local_config_cuda//crosstool:toolchain
198 build --define=tensorflow_enable_mlir_generated_gpu_kernels=0
200 build:using_cuda --define=tensorflow_enable_mlir_generated_gpu_kernels=1
203 build:cuda --config=using_cuda
204 build:cuda --define=using_cuda_nvcc=true
207 build:cuda_clang --config=using_cuda
208 build:cuda_clang --define=using_cuda_clang=true
209 build:cuda_clang --define=using_clang=true
210 build:cuda_clang --action_env TF_CUDA_CLANG=1
212 # dbg config, as a shorthand for '--config=opt -c dbg'
213 build:dbg --config=opt -c dbg
215 build:dbg --cxxopt -DTF_LITE_DISABLE_X86_NEON
217 build:dbg --copt -DDEBUG_BUILD
219 # Config to build TPU backend
220 build:tpu --define=with_tpu_support=true
222 build:tensorrt --action_env TF_NEED_TENSORRT=1
224 build:rocm --crosstool_top=@local_config_rocm//crosstool:toolchain
225 build:rocm --define=using_rocm=true --define=using_rocm_hipcc=true
226 build:rocm --action_env TF_NEED_ROCM=1
229 build:numa --define=with_numa_support=true
232 build:noaws --define=no_aws_support=true
233 build:nogcp --define=no_gcp_support=true
234 build:nohdfs --define=no_hdfs_support=true
235 build:nonccl --define=no_nccl_support=true
237 build:stackdriver_support --define=stackdriver_support=true
239 build --define=use_fast_cpp_protos=true
240 build --define=allow_oversize_protos=true
242 build --spawn_strategy=standalone
243 build -c opt
246 build --announce_rc
248 # Other build flags.
249 build --define=grpc_no_ares=true
252 # --incompatible_remove_legacy_whole_archive flag does.
262 # archives in -whole_archive -no_whole_archive.
263 build --noincompatible_remove_legacy_whole_archive
266 # to use cc_shared_library, as part of the Tensorflow Build Improvements RFC:
268 build --noincompatible_prohibit_aapt1
270 # Modular TF build options
271 build:dynamic_kernels --define=dynamic_loaded_kernels=true
272 build:dynamic_kernels --copt=-DAUTOLOAD_DYNAMIC_KERNELS
274 # Build TF with C++ 17 features.
275 build:c++17 --cxxopt=-std=c++1z
276 build:c++17 --cxxopt=-stdlib=libc++
277 build:c++1z --config=c++17
278 build:c++17_gcc --cxxopt=-std=c++1z
279 build:c++1z_gcc --config=c++17_gcc
281 # Enable using platform specific build settings, except when cross-compiling for
283 build --enable_platform_specific_config
284 build:android --noenable_platform_specific_config
285 build:ios --noenable_platform_specific_config
286 build:macos_arm64 --noenable_platform_specific_config
288 # Suppress C++ compiler warnings, otherwise build logs become 10s of MBs.
289 build:android --copt=-w
290 build:ios --copt=-w
291 build:linux --copt=-w
292 build:linux --host_copt=-w
293 build:macos --copt=-w
294 build:windows --copt=/W0
298 build:windows --copt=/D_USE_MATH_DEFINES
299 build:windows --host_copt=/D_USE_MATH_DEFINES
302 build:linux --define=PREFIX=/usr
303 build:linux --define=LIBDIR=$(PREFIX)/lib
304 build:linux --define=INCLUDEDIR=$(PREFIX)/include
305 build:linux --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include
306 build:macos --define=PREFIX=/usr
307 build:macos --define=LIBDIR=$(PREFIX)/lib
308 build:macos --define=INCLUDEDIR=$(PREFIX)/include
309 build:macos --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include
312 # By default, build TF in C++ 14 mode.
313 build:android --cxxopt=-std=c++14
314 build:android --host_cxxopt=-std=c++14
315 build:ios --cxxopt=-std=c++14
316 build:ios --host_cxxopt=-std=c++14
317 build:linux --cxxopt=-std=c++14
318 build:linux --host_cxxopt=-std=c++14
319 build:macos --cxxopt=-std=c++14
320 build:macos --host_cxxopt=-std=c++14
321 build:windows --cxxopt=/std:c++14
322 build:windows --host_cxxopt=/std:c++14
325 build:windows --config=monolithic
328 build:linux --config=dynamic_kernels
331 build:windows --copt=-DWIN32_LEAN_AND_MEAN
332 build:windows --host_copt=-DWIN32_LEAN_AND_MEAN
333 build:windows --copt=-DNOGDI
334 build:windows --host_copt=-DNOGDI
336 # MSVC (Windows): Standards-conformant preprocessor mode
337 # See https://docs.microsoft.com/en-us/cpp/preprocessor/preprocessor-experimental-overview
338 build:windows --copt=/experimental:preprocessor
339 build:windows --host_copt=/experimental:preprocessor
341 # Misc build options we need for windows.
342 build:windows --linkopt=/DEBUG
343 build:windows --host_linkopt=/DEBUG
344 build:windows --linkopt=/OPT:REF
345 build:windows --host_linkopt=/OPT:REF
346 build:windows --linkopt=/OPT:ICF
347 build:windows --host_linkopt=/OPT:ICF
348 build:windows --experimental_strict_action_env=true
351 build:windows --verbose_failures
353 # On windows, we never cross compile
354 build:windows --distinct_host_configuration=false
357 build:short_logs --output_filter=DONT_MATCH_ANYTHING
358 build:verbose_logs --output_filter=
359 build --config=short_logs
364 build:avx_linux --copt=-mavx
365 build:avx_linux --host_copt=-mavx
366 build:avx2_linux --copt=-mavx2
367 build:native_arch_linux --copt=-march=native
368 build:avx_win --copt=/arch=AVX
369 build:avx2_win --copt=/arch=AVX2
371 # Options to build TensorFlow 1.x or 2.x.
372 build:v1 --define=tf_api_version=1
373 build:v2 --define=tf_api_version=2
374 build:v1 --action_env=TF2_BEHAVIOR=0
375 build:v2 --action_env=TF2_BEHAVIOR=1
376 build --config=v2
377 test --config=v2
380 build:xla --define=with_xla_support=true
382 # BEGIN TF REMOTE BUILD EXECUTION OPTIONS
387 common --experimental_repo_remote_exec
389 build:rbe --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
390 build:rbe --google_default_credentials
391 build:rbe --bes_backend=buildeventservice.googleapis.com
392 build:rbe --bes_results_url="https://source.cloud.google.com/results/invocations"
393 build:rbe --bes_timeout=600s
394 build:rbe --define=EXECUTOR=remote
395 build:rbe --distinct_host_configuration=false
396 build:rbe --flaky_test_attempts=3
397 build:rbe --jobs=200
398 build:rbe --remote_executor=grpcs://remotebuildexecution.googleapis.com
399 build:rbe --remote_timeout=3600
400 build:rbe --spawn_strategy=remote,worker,standalone,local
401 test:rbe --test_env=USER=anon
404 build:rbe --remote_download_toplevel
406 build:rbe_linux --config=rbe
407 build:rbe_linux --action_env=PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/us…
408 build:rbe_linux --host_javabase=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:jdk8
409 build:rbe_linux --javabase=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:jdk8
410 build:rbe_linux --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
411 build:rbe_linux --java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
413 # Non-rbe settings we should include because we do not run configure
414 build:rbe_linux --config=xla
415 build:rbe_linux --config=avx_linux
416 build:rbe_linux --config=short_logs
418 build:rbe_linux --linkopt=-lrt
419 build:rbe_linux --host_linkopt=-lrt
420 build:rbe_linux --linkopt=-lm
421 build:rbe_linux --host_linkopt=-lm
423 build:rbe_cpu_linux --config=rbe_linux
424 build:rbe_cpu_linux --host_crosstool_top="@org_tensorflow//third_party/toolchains/preconfig/ubuntu1…
425 build:rbe_cpu_linux --crosstool_top="@org_tensorflow//third_party/toolchains/preconfig/ubuntu16.04/…
426 build:rbe_cpu_linux --extra_toolchains="@org_tensorflow//third_party/toolchains/preconfig/ubuntu16.…
427 build:rbe_cpu_linux --extra_execution_platforms="@ubuntu16.04-manylinux2010-py3_config_platform//:p…
428 build:rbe_cpu_linux --extra_execution_platforms="@ubuntu16.04-manylinux2010-py3_config_platform//:p…
429 build:rbe_cpu_linux --host_platform="@ubuntu16.04-manylinux2010-py3_config_platform//:platform"
430 build:rbe_cpu_linux --platforms="@ubuntu16.04-manylinux2010-py3_config_platform//:platform"
432 build:rbe_linux_cuda_base --config=rbe_linux
433 build:rbe_linux_cuda_base --repo_env=TF_NEED_TENSORRT=1
434 build:rbe_linux_cuda_base --repo_env=TF_CUDA_VERSION=10
435 build:rbe_linux_cuda_base --repo_env=TF_CUDNN_VERSION=7
436 build:rbe_linux_cuda_base --repo_env=REMOTE_GPU_TESTING=1
437 build:rbe_linux_cuda_base --repo_env=TF_NEED_CUDA=1
438 test:rbe_linux_cuda_base --test_env=LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/extras/C…
440 build:rbe_linux_cuda10.1_nvcc_base --config=rbe_linux_cuda_base
441 build:rbe_linux_cuda10.1_nvcc_base --define=using_cuda_nvcc=true
442 build:rbe_linux_cuda10.1_nvcc_base --host_crosstool_top="@ubuntu18.04-gcc7_manylinux2010-cuda10.1-c…
443 build:rbe_linux_cuda10.1_nvcc_base --crosstool_top="@ubuntu18.04-gcc7_manylinux2010-cuda10.1-cudnn7…
444 build:rbe_linux_cuda10.1_nvcc_base --extra_toolchains="@ubuntu18.04-gcc7_manylinux2010-cuda10.1-cud…
445 build:rbe_linux_cuda10.1_nvcc_base --extra_execution_platforms="@ubuntu18.04-gcc7_manylinux2010-cud…
446 build:rbe_linux_cuda10.1_nvcc_base --host_platform="@ubuntu18.04-gcc7_manylinux2010-cuda10.1-cudnn7…
447 build:rbe_linux_cuda10.1_nvcc_base --platforms="@ubuntu18.04-gcc7_manylinux2010-cuda10.1-cudnn7-ten…
448 build:rbe_linux_cuda10.1_nvcc_base --repo_env=TF_CUDA_CONFIG_REPO="@ubuntu18.04-gcc7_manylinux2010-…
449 build:rbe_linux_cuda10.1_nvcc_base --repo_env=TF_TENSORRT_CONFIG_REPO="@ubuntu18.04-gcc7_manylinux2…
450 build:rbe_linux_cuda10.1_nvcc_base --repo_env=TF_NCCL_CONFIG_REPO="@ubuntu18.04-gcc7_manylinux2010-…
451 build:rbe_linux_cuda10.1_nvcc_py2.7 --config=rbe_linux_cuda10.1_nvcc_base --repo_env=TF_PYTHON_CONF…
452 build:rbe_linux_cuda10.1_nvcc_py3.5 --config=rbe_linux_cuda10.1_nvcc_base --repo_env=TF_PYTHON_CONF…
453 build:rbe_linux_cuda10.1_nvcc_py3.6 --config=rbe_linux_cuda10.1_nvcc_base --repo_env=TF_PYTHON_CONF…
454 build:rbe_linux_cuda10.1_nvcc_py3.7 --config=rbe_linux_cuda10.1_nvcc_base --repo_env=TF_PYTHON_CONF…
455 build:rbe_linux_cuda10.1_nvcc_py3.8 --config=rbe_linux_cuda10.1_nvcc_base --repo_env=TF_PYTHON_CONF…
457 build:rbe_linux_cuda11.0_nvcc_base --config=rbe_linux_cuda_base
458 build:rbe_linux_cuda11.0_nvcc_base --define=using_cuda_nvcc=true
459 build:rbe_linux_cuda11.0_nvcc_base --host_crosstool_top="@ubuntu18.04-gcc7_manylinux2010-cuda11.0-c…
460 build:rbe_linux_cuda11.0_nvcc_base --crosstool_top="@ubuntu18.04-gcc7_manylinux2010-cuda11.0-cudnn8…
461 build:rbe_linux_cuda11.0_nvcc_base --extra_toolchains="@ubuntu18.04-gcc7_manylinux2010-cuda11.0-cud…
462 build:rbe_linux_cuda11.0_nvcc_base --extra_execution_platforms="@ubuntu18.04-gcc7_manylinux2010-cud…
463 build:rbe_linux_cuda11.0_nvcc_base --host_platform="@ubuntu18.04-gcc7_manylinux2010-cuda11.0-cudnn8…
464 build:rbe_linux_cuda11.0_nvcc_base --platforms="@ubuntu18.04-gcc7_manylinux2010-cuda11.0-cudnn8-ten…
465 build:rbe_linux_cuda11.0_nvcc_base --repo_env=TF_CUDA_CONFIG_REPO="@ubuntu18.04-gcc7_manylinux2010-…
466 build:rbe_linux_cuda11.0_nvcc_base --repo_env=TF_TENSORRT_CONFIG_REPO="@ubuntu18.04-gcc7_manylinux2…
467 build:rbe_linux_cuda11.0_nvcc_base --repo_env=TF_NCCL_CONFIG_REPO="@ubuntu18.04-gcc7_manylinux2010-…
468 build:rbe_linux_cuda11.0_nvcc_py2.7 --config=rbe_linux_cuda11.0_nvcc_base --repo_env=TF_PYTHON_CONF…
469 build:rbe_linux_cuda11.0_nvcc_py3.5 --config=rbe_linux_cuda11.0_nvcc_base --repo_env=TF_PYTHON_CONF…
470 build:rbe_linux_cuda11.0_nvcc_py3.6 --config=rbe_linux_cuda11.0_nvcc_base --repo_env=TF_PYTHON_CONF…
471 build:rbe_linux_cuda11.0_nvcc_py3.7 --config=rbe_linux_cuda11.0_nvcc_base --repo_env=TF_PYTHON_CONF…
472 build:rbe_linux_cuda11.0_nvcc_py3.8 --config=rbe_linux_cuda11.0_nvcc_base --repo_env=TF_PYTHON_CONF…
475 build:rbe_linux_cuda_nvcc_py27 --config=rbe_linux_cuda10.1_nvcc_py2.7
476 build:rbe_linux_cuda_nvcc_py35 --config=rbe_linux_cuda11.0_nvcc_py3.5
477 build:rbe_linux_cuda_nvcc_py36 --config=rbe_linux_cuda11.0_nvcc_py3.6
478 build:rbe_linux_cuda_nvcc_py37 --config=rbe_linux_cuda11.0_nvcc_py3.7
479 build:rbe_linux_cuda_nvcc_py38 --config=rbe_linux_cuda11.0_nvcc_py3.8
482 build:rbe_linux_cuda_nvcc --config=rbe_linux_cuda_nvcc_py36
483 build:rbe_gpu_linux --config=rbe_linux_cuda_nvcc
485 build:rbe_linux_cuda_clang_base --config=rbe_linux_cuda_base
486 build:rbe_linux_cuda_clang_base --crosstool_top="@ubuntu18.04-clang_manylinux2010-cuda11.0-cudnn8-t…
487 build:rbe_linux_cuda_clang_base --extra_toolchains="@ubuntu18.04-clang_manylinux2010-cuda11.0-cudnn…
488 build:rbe_linux_cuda_clang_base --extra_execution_platforms="@ubuntu18.04-clang_manylinux2010-cuda1…
489 build:rbe_linux_cuda_clang_base --host_platform="@ubuntu18.04-clang_manylinux2010-cuda11.0-cudnn8-t…
490 build:rbe_linux_cuda_clang_base --platforms="@ubuntu18.04-clang_manylinux2010-cuda11.0-cudnn8-tenso…
491 build:rbe_linux_cuda_clang_base --repo_env=TF_CUDA_CONFIG_REPO="@ubuntu18.04-clang_manylinux2010-cu…
492 build:rbe_linux_cuda_clang_base --repo_env=TF_TENSORRT_CONFIG_REPO="@ubuntu18.04-clang_manylinux201…
493 build:rbe_linux_cuda_clang_base --repo_env=TF_NCCL_CONFIG_REPO="@ubuntu18.04-clang_manylinux2010-cu…
494 build:rbe_linux_cuda_clang_base --define=using_cuda_clang=true
495 build:rbe_linux_cuda_clang_py27 --config=rbe_linux_cuda_clang_base --repo_env=TF_PYTHON_CONFIG_REPO…
496 build:rbe_linux_cuda_clang_py35 --config=rbe_linux_cuda_clang_base --repo_env=TF_PYTHON_CONFIG_REPO…
497 build:rbe_linux_cuda_clang_py36 --config=rbe_linux_cuda_clang_base --repo_env=TF_PYTHON_CONFIG_REPO…
498 build:rbe_linux_cuda_clang_py37 --config=rbe_linux_cuda_clang_base --repo_env=TF_PYTHON_CONFIG_REPO…
499 build:rbe_linux_cuda_clang_py38 --config=rbe_linux_cuda_clang_base --repo_env=TF_PYTHON_CONFIG_REPO…
502 build:rbe_linux_rocm_base --config=rbe_linux
503 build:rbe_linux_rocm_base --repo_env=TF_NEED_ROCM=1
504 build:rbe_linux_rocm_base --crosstool_top="@ubuntu18.04-gcc7_manylinux2010-rocm_config_rocm//crosst…
505 build:rbe_linux_rocm_base --extra_toolchains="@ubuntu18.04-gcc7_manylinux2010-rocm_config_rocm//cro…
506 build:rbe_linux_rocm_base --extra_execution_platforms="@ubuntu18.04-gcc7_manylinux2010-rocm_config_…
507 build:rbe_linux_rocm_base --host_platform="@ubuntu18.04-gcc7_manylinux2010-rocm_config_platform//:p…
508 build:rbe_linux_rocm_base --platforms="@ubuntu18.04-gcc7_manylinux2010-rocm_config_platform//:platf…
509 build:rbe_linux_rocm_base --action_env=TF_ROCM_CONFIG_REPO="@ubuntu18.04-gcc7_manylinux2010-rocm_co…
510 build:rbe_linux_rocm_base --define=using_rocm_hipcc=true
511 build:rbe_linux_rocm_py2.7 --config=rbe_linux_rocm_base --repo_env=TF_PYTHON_CONFIG_REPO="@ubuntu18…
512 build:rbe_linux_rocm_py3.5 --config=rbe_linux_rocm_base --repo_env=TF_PYTHON_CONFIG_REPO="@ubuntu18…
513 build:rbe_linux_rocm_py3.6 --config=rbe_linux_rocm_base --repo_env=TF_PYTHON_CONFIG_REPO="@ubuntu18…
514 build:rbe_linux_rocm_py3.7 --config=rbe_linux_rocm_base --repo_env=TF_PYTHON_CONFIG_REPO="@ubuntu18…
515 build:rbe_linux_rocm_py3.8 --config=rbe_linux_rocm_base --repo_env=TF_PYTHON_CONFIG_REPO="@ubuntu18…
518 build:rbe_linux_py2 --config=rbe_linux
519 build:rbe_linux_py2 --repo_env=PYTHON_BIN_PATH="/usr/bin/python2"
520 build:rbe_linux_py2 --python_path="/usr/bin/python2"
521 build:rbe_linux_py2 --repo_env=TF_PYTHON_CONFIG_REPO="@org_tensorflow//third_party/toolchains/preco…
523 build:rbe_linux_py3 --config=rbe_linux
524 build:rbe_linux_py3 --python_path="/usr/bin/python3"
525 build:rbe_linux_py3 --repo_env=TF_PYTHON_CONFIG_REPO="@ubuntu16.04-manylinux2010-py3_config_python"
527 build:rbe_win --config=rbe
528 build:rbe_win --crosstool_top="@org_tensorflow//third_party/toolchains/preconfig/win/tf_win_0806202…
529 build:rbe_win --extra_toolchains="@org_tensorflow//third_party/toolchains/preconfig/win/tf_win_0806…
530 build:rbe_win --host_javabase="@org_tensorflow//third_party/toolchains/preconfig/win:windows_jdk8"
531 build:rbe_win --javabase="@org_tensorflow//third_party/toolchains/preconfig/win:windows_jdk8"
532 build:rbe_win --extra_execution_platforms="@org_tensorflow//third_party/toolchains/preconfig/win:rb…
533 build:rbe_win --host_platform="@org_tensorflow//third_party/toolchains/preconfig/win:rbe_windows_lt…
534 build:rbe_win --platforms="@org_tensorflow//third_party/toolchains/preconfig/win:rbe_windows_ltsc20…
535 build:rbe_win --shell_executable=C:\\tools\\msys64\\usr\\bin\\bash.exe
538 build:rbe_win --define=override_eigen_strong_inline=true
539 build:rbe_win --jobs=100
541 build:rbe_win_py37 --config=rbe
542 build:rbe_win_py37 --repo_env=TF_PYTHON_CONFIG_REPO="@windows_py37_config_python"
543 build:rbe_win_py37 --python_path=C:\\Python37\\python.exe
545 build:rbe_win_py38 --config=rbe
546 build:rbe_win_py38 --repo_env=PYTHON_BIN_PATH=C:\\Python38\\python.exe
547 build:rbe_win_py38 --repo_env=PYTHON_LIB_PATH=C:\\Python38\\lib\\site-packages
548 build:rbe_win_py38 --repo_env=TF_PYTHON_CONFIG_REPO=@org_tensorflow//third_party/toolchains/preconf…
549 build:rbe_win_py38 --python_path=C:\\Python38\\python.exe
552 build:tensorflow_testing_rbe --project_id=tensorflow-testing
553 common:tensorflow_testing_rbe_linux --remote_instance_name=projects/tensorflow-testing/instances/de…
554 build:tensorflow_testing_rbe_linux --config=tensorflow_testing_rbe
555 build:tensorflow_testing_rbe_linux --config=rbe
556 build:tensorflow_testing_rbe_linux --config=rbe_linux
558 common:tensorflow_testing_rbe_win --remote_instance_name=projects/tensorflow-testing/instances/wind…
559 build:tensorflow_testing_rbe_win --config=tensorflow_testing_rbe
561 # TFLite build configs for generic embedded Linux
562 build:elinux --crosstool_top=@local_config_embedded_arm//:toolchain
563 build:elinux --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
564 build:elinux_aarch64 --config=elinux
565 build:elinux_aarch64 --cpu=aarch64
566 build:elinux_armhf --config=elinux
567 build:elinux_armhf --cpu=armhf
568 # END TF REMOTE BUILD EXECUTION OPTIONS
573 try-import %workspace%/.tf_configure.bazelrc
575 # Put user-specific options in .bazelrc.user
576 try-import %workspace%/.bazelrc.user
579 build:release_common --config=opt
580 build:release_common --config=v2
581 build:release_common --distinct_host_configuration=false
582 build:release_common --action_env TF_CONFIGURE_IOS="0"
584 build:release_cpu_linux --config=release_common
585 build:release_cpu_linux --config=avx_linux
588 build:release_cpu_linux --crosstool_top=@org_tensorflow//third_party/toolchains/preconfig/ubuntu16.…
590 build:release_cpu_macos --config=release_common
591 build:release_cpu_macos --config=avx_linux
593 build:release_gpu_common --config=release_common
594 build:release_gpu_common --config=cuda
595 build:release_gpu_common --config=tensorrt
596 build:release_gpu_common --action_env CUDA_TOOLKIT_PATH="/usr/local/cuda-11.0"
597 build:release_gpu_common --action_env=TF_CUDA_VERSION="11"
598 build:release_gpu_common --action_env=TF_CUDNN_VERSION="8"
599 build:release_gpu_common --action_env=TF_NEED_TENSORRT="1"
600 build:release_gpu_common --action_env=TF_CUDA_COMPUTE_CAPABILITIES="sm_35,sm_50,sm_60,sm_70,sm_75,c…
601 build:release_gpu_common --action_env=TENSORRT_INSTALL_PATH="/usr/local/tensorrt"
602 build:release_gpu_common --action_env=LD_LIBRARY_PATH="/usr/local/cuda:/usr/local/cuda/lib64:/usr/l…
603 build:release_gpu_common --action_env=GCC_HOST_COMPILER_PATH="/usr/bin/gcc-5"
606 build:release_gpu_linux --config=release_gpu_common
607 build:release_gpu_linux --config=avx_linux
608 build:release_gpu_linux --crosstool_top=@org_tensorflow//third_party/toolchains/preconfig/ubuntu16.…
609 build:release_windows_common --config=release_common
610 build:release_windows_common --define=no_tensorflow_py_deps=true
611 build:release_windows_common --announce_rc
614 # https://groups.google.com/a/tensorflow.org/d/topic/build/SsW98Eo7l3o/discussion
615 build:release_windows_common --copt=/d2ReducedOptimizeHugeFunctions --host_copt=/d2ReducedOptimizeH…
617 build:release_cpu_windows --config=release_windows_common
619 build:release_gpu_windows --config=release_windows_common
621 build:release_gpu_linux_cuda_10_1 --config=release_gpu_linux
622 build:release_gpu_linux_cuda_10_1 --action_env CUDA_TOOLKIT_PATH="/usr/local/cuda-10.1"
623 build:release_gpu_linux_cuda_10_1 --action_env=TF_CUDA_VERSION="10"
624 build:release_gpu_linux_cuda_10_1 --action_env=TF_CUDNN_VERSION="7"
627 # CC=clang bazel build --config asan
628 build:asan --strip=never
629 build:asan --copt -fsanitize=address
630 build:asan --copt -DADDRESS_SANITIZER
631 build:asan --copt -g
632 build:asan --copt -O3
633 build:asan --copt -fno-omit-frame-pointer
634 build:asan --linkopt -fsanitize=address
637 # CC=clang bazel build --config msan
638 build:msan --strip=never
639 build:msan --copt -fsanitize=memory
640 build:msan --copt -DADDRESS_SANITIZER
641 build:msan --copt -g
642 build:msan --copt -O3
643 build:msan --copt -fno-omit-frame-pointer
644 build:msan --linkopt -fsanitize=memory
647 # CC=clang bazel build --config ubsan
648 build:ubsan --strip=never
649 build:ubsan --copt -fsanitize=undefined
650 build:ubsan --copt -g
651 build:ubsan --copt -O3
652 build:ubsan --copt -fno-omit-frame-pointer
653 build:ubsan --linkopt -fsanitize=undefined
654 build:ubsan --linkopt -lubsan