Lines Matching full:build
2 # target CPU to build transient dependencies correctly. See
3 # https://docs.bazel.build/versions/master/user-manual.html#flag--fat_apk_cpu
4 build:android --crosstool_top=//external:android/crosstool
5 build:android --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
6 build:android_arm --config=android
7 build:android_arm --cpu=armeabi-v7a
8 build:android_arm --fat_apk_cpu=armeabi-v7a
9 build:android_arm64 --config=android
10 build:android_arm64 --cpu=arm64-v8a
11 build:android_arm64 --fat_apk_cpu=arm64-v8a
14 build --apple_platform_type=macos
16 # Config to use a mostly-static build and disable modular op registration
18 # By default, TensorFlow will build with a dependence on
20 build:monolithic --define framework_shared_object=false
22 # For projects which use TensorFlow as part of a Bazel build process, putting
23 # nothing in a bazelrc will default to a monolithic build. The following line
25 build --define framework_shared_object=true
29 # environment variable "TF_MKL_ROOT" every time before build.
30 build:mkl --define=build_with_mkl=true --define=enable_mkl=true
31 build:mkl --define=tensorflow_mkldnn_contraction_kernel=0
32 build:mkl -c opt
36 build:mkl_open_source_only --define=build_with_mkl_dnn_only=true
37 build:mkl_open_source_only --define=build_with_mkl=true --define=enable_mkl=true
38 build:mkl_open_source_only --define=tensorflow_mkldnn_contraction_kernel=0
40 build:download_clang --crosstool_top=@local_config_download_clang//:toolchain
41 build:download_clang --define=using_clang=true
46 build:download_clang_use_lld --linkopt='-fuse-ld=lld'
48 build:cuda --crosstool_top=@local_config_cuda//crosstool:toolchain
49 build:cuda --define=using_cuda=true --define=using_cuda_nvcc=true
51 build:rocm --crosstool_top=@local_config_rocm//crosstool:toolchain
52 build:rocm --define=using_rocm=true --define=using_rocm_hipcc=true
54 build:cuda_clang --crosstool_top=@local_config_cuda//crosstool:toolchain
55 build:cuda_clang --define=using_cuda=true --define=using_cuda_clang=true --define=using_clang=true
57 build:sycl --crosstool_top=@local_config_sycl//crosstool:toolchain
58 build:sycl --define=using_sycl=true --define=using_trisycl=false
60 build:sycl_nodouble --crosstool_top=@local_config_sycl//crosstool:toolchain
61 build:sycl_nodouble --define=using_sycl=true --cxxopt -DTENSORFLOW_SYCL_NO_DOUBLE
63 build:sycl_asan --crosstool_top=@local_config_sycl//crosstool:toolchain
64 build:sycl_asan --define=using_sycl=true --define=using_trisycl=false --copt -fno-omit-frame-pointe…
66 build:sycl_trisycl --crosstool_top=@local_config_sycl//crosstool:toolchain
67 build:sycl_trisycl --define=using_sycl=true --define=using_trisycl=true
70 build:gdr --define=with_gdr_support=true
71 build:ngraph --define=with_ngraph_support=true
72 build:verbs --define=with_verbs_support=true
73 build:numa --define=with_numa_support=true
76 build:noaws --define=no_aws_support=true
77 build:nogcp --define=no_gcp_support=true
78 build:nohdfs --define=no_hdfs_support=true
79 build:nokafka --define=no_kafka_support=true
80 build:noignite --define=no_ignite_support=true
81 build:nonccl --define=no_nccl_support=true
83 build --define=use_fast_cpp_protos=true
84 build --define=allow_oversize_protos=true
86 build --spawn_strategy=standalone
87 build --strategy=Genrule=standalone
88 build -c opt
90 # Other build flags.
91 build --define=grpc_no_ares=true
93 # Modular TF build options
94 build:dynamic_kernels --define=dynamic_loaded_kernels=true
95 build:dynamic_kernels --copt=-DAUTOLOAD_DYNAMIC_KERNELS
97 # Build TF with C++ 17 features.
98 build:c++17 --cxxopt=-std=c++1z
99 build:c++17 --cxxopt=-stdlib=libc++
100 build:c++1z --cxxopt=-std=c++1z
101 build:c++1z --cxxopt=-stdlib=libc++
104 build --define=PREFIX=/usr
105 build --define=LIBDIR=$(PREFIX)/lib
106 build --define=INCLUDEDIR=$(PREFIX)/include
109 build --define=tensorflow_mkldnn_contraction_kernel=0