• Home
  • Raw
  • Download

Lines Matching full:build

6 build --apple_platform_type=macos
8 # Enable using platform specific build settings
9 build --enable_platform_specific_config
15 build --java_toolchain=//third_party/toolchains/java:tf_java_toolchain
16 build --host_java_toolchain=//third_party/toolchains/java:tf_java_toolchain
18 # Suppress C++ compiler warnings, otherwise build logs become 10s of MBs.
19 build:android --copt=-w
20 build:linux --copt=-w
21 build:macos --copt=-w
22 build:windows --copt=/w
25 build --action_env ANDROID_NDK_HOME
26 build --action_env ANDROID_NDK_API_LEVEL
27 build --action_env ANDROID_BUILD_TOOLS_VERSION
28 build --action_env ANDROID_SDK_API_LEVEL
29 build --action_env ANDROID_SDK_HOME
32 # target CPU to build transient dependencies correctly. See
33 # https://docs.bazel.build/versions/master/user-manual.html#flag--fat_apk_cpu
35 build:android --crosstool_top=//external:android/crosstool
36 build:android --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
37 build:android_arm --config=android
38 build:android_arm --cpu=armeabi-v7a
39 build:android_arm --fat_apk_cpu=armeabi-v7a
40 build:android_arm64 --config=android
41 build:android_arm64 --cpu=arm64-v8a
42 build:android_arm64 --fat_apk_cpu=arm64-v8a
43 build:android_x86 --config=android
44 build:android_x86 --cpu=x86
45 build:android_x86 --fat_apk_cpu=x86
46 build:android_x86_64 --config=android
47 build:android_x86_64 --cpu=x86_64
48 build:android_x86_64 --fat_apk_cpu=x86_64
51 build:ios --apple_platform_type=ios
52 build:ios --apple_bitcode=embedded --copt=-fembed-bitcode
53 build:ios --copt=-Wno-c++11-narrowing
54 build:ios_armv7 --config=ios
55 build:ios_armv7 --cpu=ios_armv7
56 build:ios_arm64 --config=ios
57 build:ios_arm64 --cpu=ios_arm64
58 build:ios_x86_64 --config=ios
59 build:ios_x86_64 --cpu=ios_x86_64
60 build:ios_fat --config=ios
61 build:ios_fat --ios_multi_cpus=armv7,arm64,x86_64
63 # By default, build TF in C++ 14 mode.
64 build:android --cxxopt=-std=c++14
65 build:android --host_cxxopt=-std=c++14
66 build:ios --cxxopt=-std=c++14
67 build:ios --host_cxxopt=-std=c++14
68 build:linux --cxxopt=-std=c++14
69 build:linux --host_cxxopt=-std=c++14
70 build:macos --cxxopt=-std=c++14
71 build:macos --host_cxxopt=-std=c++14
72 build:windows --cxxopt=/std:c++14
73 build:windows --host_cxxopt=/std:c++14
75 # Config to use a mostly-static build and disable modular op registration
77 # By default, TensorFlow will build with a dependence on
79 build:monolithic --define framework_shared_object=false
81 # For projects which use TensorFlow as part of a Bazel build process, putting
82 # nothing in a bazelrc will default to a monolithic build. The following line
84 build --define framework_shared_object=true
86 # ASAN build
87 build:asan --strip=never
88 build:asan --copt -fsanitize=address
89 build:asan --copt -DADDRESS_SANITIZER
90 build:asan --copt -O1
91 build:asan --copt -g
92 build:asan --copt -fno-omit-frame-pointer
93 build:asan --linkopt -fsanitize=address
95 # Flags for open source build, always set to be true.
96 build --define open_source_build=true
100 build:dbg --config=opt -c dbg
102 build:dbg --cxxopt -DTF_LITE_DISABLE_X86_NEON
104 build:dbg --copt -DDEBUG_BUILD
106 build --define=use_fast_cpp_protos=true
107 build --define=allow_oversize_protos=true
109 build --spawn_strategy=standalone
110 build -c opt
115 build --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=0
118 build --announce_rc
120 # Other build flags.
121 build --define=grpc_no_ares=true
135 build --noincompatible_remove_legacy_whole_archive
138 # to use cc_shared_library, as part of the Tensorflow Build Improvements RFC:
140 build --noincompatible_prohibit_aapt1
142 # Build TF with C++ 17 features.
143 build:c++17 --cxxopt=-std=c++1z
144 build:c++17 --cxxopt=-stdlib=libc++
145 build:c++1z --config=c++17
147 # Enable using platform specific build settings, except when cross-compiling for
149 build --enable_platform_specific_config
150 build:android --noenable_platform_specific_config
151 build:ios --noenable_platform_specific_config
154 build:short_logs --output_filter=DONT_MATCH_ANYTHING
155 build:verbose_logs --output_filter=
156 build --config=short_logs
158 # Options to build TensorFlow 1.x or 2.x.
159 build:v1 --define=tf_api_version=1
160 build:v2 --define=tf_api_version=2
161 build:v1 --action_env=TF2_BEHAVIOR=0
162 build:v2 --action_env=TF2_BEHAVIOR=1
163 build --config=v2