Home
last modified time | relevance | path

Searched full:bazel (Results 1 – 25 of 649) sorted by relevance

12345678910>>...26

/external/grpc-grpc/summerofcode/2018/
Dnaresh.md5 Enable Building of gRPC Python with Bazel
11 [Bazel](https://bazel.build/) is the open-sourced variant of Google's internal
13 fast and declarative fashion. But Bazel in itself is still in active
16 The project aimed to fill this gap and build gRPC Python with Bazel.
24 ### State of Bazel for Python
27 directly to [bazelbuild/bazel](https://github.com/bazelbuild/bazel). The Bazel
31 Bazel is [still very much in active development for
32 Python](https://groups.google.com/forum/#!topic/bazel-sig-python/iQjV9sfSufw)
34 Using pip packages is still in experimental. Bazel Python support is currently
39 Bazel's roadmap for Python is publicly available [here as a Google
[all …]
/external/tensorflow/tensorflow/tools/ci_build/install/
Dinstall_bazel.sh17 # Select bazel version.
21 local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')
29 # Install bazel.
30 mkdir -p /bazel
31 cd /bazel
32 if [[ ! -f "bazel-$BAZEL_VERSION-installer-linux-x86_64.sh" ]]; then
33 …curl -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VE…
35 chmod +x /bazel/bazel-*.sh
36 /bazel/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh
37 rm -f /bazel/bazel-$BAZEL_VERSION-installer-linux-x86_64.sh
[all …]
Dinstall_bazel_from_source.sh18 # It will compile bazel from source and install it in /usr/local/bin
20 # Select bazel version.
24 local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')
32 # Compile bazel from source
33 mkdir -p /bazel
34 cd /bazel
36 curl -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VER…
37 unzip bazel-$BAZEL_VERSION-dist.zip
39 cp output/bazel /usr/local/bin/
40 rm -rf /bazel
/external/tensorflow/tensorflow/tools/docker/
DDockerfile.devel57 # Set up Bazel.
59 # Running bazel inside a `docker build` command causes trouble, cf:
60 # https://github.com/bazelbuild/bazel/issues/134
62 RUN echo "startup --batch" >>/etc/bazel.bazelrc
64 # https://github.com/bazelbuild/bazel/issues/418
66 >>/etc/bazel.bazelrc
67 # Install the most recent bazel release.
70 RUN mkdir /bazel && \
71 cd /bazel && \
72 …Safari/537.36" -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel
[all …]
DDockerfile.devel-mkl65 # Set up Bazel.
67 # Running bazel inside a `docker build` command causes trouble, cf:
68 # https://github.com/bazelbuild/bazel/issues/134
70 RUN echo "startup --batch" >>/etc/bazel.bazelrc
72 # https://github.com/bazelbuild/bazel/issues/418
74 >>/etc/bazel.bazelrc
75 # Install the most recent bazel release.
78 RUN mkdir /bazel && \
79 cd /bazel && \
80 …Safari/537.36" -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel
[all …]
DDockerfile.devel-gpu72 # Set up Bazel.
74 # Running bazel inside a `docker build` command causes trouble, cf:
75 # https://github.com/bazelbuild/bazel/issues/134
77 RUN echo "startup --batch" >>/etc/bazel.bazelrc
79 # https://github.com/bazelbuild/bazel/issues/418
81 >>/etc/bazel.bazelrc
82 # Install the most recent bazel release.
85 RUN mkdir /bazel && \
86 cd /bazel && \
87 …Safari/537.36" -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel
[all …]
DDockerfile.devel-mkl-horovod69 # Set up Bazel.
71 # Running bazel inside a `docker build` command causes trouble, cf:
72 # https://github.com/bazelbuild/bazel/issues/134
74 RUN echo "startup --batch" >>/etc/bazel.bazelrc
76 # https://github.com/bazelbuild/bazel/issues/418
78 >>/etc/bazel.bazelrc
79 # Install the most recent bazel release.
82 RUN mkdir /bazel && \
83 cd /bazel && \
84 …Safari/537.36" -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel
[all …]
/external/tensorflow/tensorflow/
Dworkspace.bzl56 # Note that we check the minimum bazel version in WORKSPACE.
71 # For windows bazel build
88 …"https://mirror.bazel.build/github.com/intel/mkl-dnn/releases/download/v0.18-rc/mklml_lnx_2019.0.3…
98 …"https://mirror.bazel.build/github.com/intel/mkl-dnn/releases/download/v0.18-rc/mklml_win_2019.0.3…
108 …"https://mirror.bazel.build/github.com/intel/mkl-dnn/releases/download/v0.18-rc/mklml_mac_2019.0.3…
128 …"https://mirror.bazel.build/github.com/intel/mkl-dnn/archive/bdd1c7be2cbc0b451d3541ab140742db67f17…
139 …"https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/7c7754fb3ed9ffb57d35fe8658f3ba4d7…
151 "https://mirror.bazel.build/bitbucket.org/eigen/eigen/get/9632304bf806.tar.gz",
162 …"https://mirror.bazel.build/github.com/raspberrypi/tools/archive/0e906ebc527eab1cdbf7adabff5b474da…
175 "https://mirror.bazel.build/github.com/hfp/libxsmm/archive/1.9.tar.gz",
[all …]
/external/tensorflow/tensorflow/tools/dockerfiles/partials/ubuntu/
Dbazel.partial.Dockerfile24 # Install bazel
26 RUN mkdir /bazel && \
27 …wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION…
28 …wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
29 chmod +x /bazel/installer.sh && \
30 /bazel/installer.sh && \
31 rm -f /bazel/installer.sh
Dbazelbuild.partial.Dockerfile23 # Build and install bazel
26 RUN mkdir /bazel && \
27 cd /bazel && \
28 …curl -fSsL -O https://github.com/bazelbuild/bazel/releases/download/$BAZEL_VERSION/bazel-$BAZEL_VE…
29 unzip bazel-$BAZEL_VERSION-dist.zip && \
31 cp output/bazel /usr/local/bin/ && \
32 rm -rf /bazel && \
/external/googletest/
Dappveyor.yml19 build_system: bazel
59 # install Bazel
60 if ($env:build_system -eq "bazel") {
61 …adFile https://github.com/bazelbuild/bazel/releases/download/0.21.0/bazel-0.21.0-windows-x86_64.ex…
85 # special case - build with Bazel
86 if ($env:build_system -eq "bazel") {
87 & $env:root\bazel.exe build -c opt //:gtest_samples
88 … if ($LastExitCode -eq 0) { # bazel writes to StdErr and PowerShell interprets it as an error
125 if ($env:build_system -eq "bazel") {
126 # special case - testing with Bazel
[all …]
/external/brotli/scripts/
D.travis.sh19 "bazel")
20 brew install bazel
60 "bazel")
61 bazel build -c opt ...:all &&
62 cd go && bazel test -c opt ...:all && cd .. &&
63 cd java && bazel test -c opt ...:all && cd .. &&
64 cd js && bazel test -c opt ...:all && cd .. &&
65 cd research && bazel build -c opt ...:all && cd ..
73 "bazel")
76 zip -j9 brotli.zip bazel-bin/libbrotli*.a bazel-bin/libbrotli*.so bazel-bin/brotli
Dappveyor.yml41 - BUILD_SYSTEM: bazel
56 - IF "%BUILD_SYSTEM%"=="bazel" (
57 …adFile https://github.com/bazelbuild/bazel/releases/download/0.18.0/bazel-0.18.0-windows-x86_64.ex…
78 - IF "%BUILD_SYSTEM%"=="bazel" (
80 %ROOT%\bazel.exe --batch build -c opt org/brotli/wrapper/...:all &&
81 python %ROOT%\scripts\fix-win-bazel-build.py &&
82 cd bazel-bin &&
83 7z a -tzip -mx9 brotli-win-bazel-jni-%RELEASE_DATE%.zip brotli_jni.dll &&
84 appveyor PushArtifact brotli-win-bazel-jni-%RELEASE_DATE%.zip &&
93 - IF "%BUILD_SYSTEM%"=="bazel" (
[all …]
/external/tensorflow/tensorflow/examples/android/
Dbuild.gradle4 // Note that Bazel is still used by default to compile the native libs,
11 // on Windows machines, but note that full equivalence with the Bazel
14 // NOTE: Running a make build will cause subsequent Bazel builds to *fail*
21 // it will conflict with the BUILD file used by Bazel on case-insensitive OSs.
44 // set to 'bazel', 'cmake', 'makefile', 'none'
45 def nativeBuildSystem = 'bazel'
47 // Controls output directory in APK and CPU type for Bazel builds.
57 // Default to building with Bazel and override with make if requested.
59 def demoLibPath = '../../../bazel-bin/tensorflow/examples/android/libtensorflow_demo.so'
60 def inferenceLibPath = '../../../bazel-bin/tensorflow/contrib/android/libtensorflow_inference.so'
[all …]
/external/tensorflow/tensorflow/java/
DREADME.md36 1. Install [bazel](https://www.bazel.build/versions/master/docs/install.html)
56 bazel build --config opt \
61 The command above will produce two files in the `bazel-bin/tensorflow/java`
72 javac -cp bazel-bin/tensorflow/java/libtensorflow.jar ...
79 java -cp bazel-bin/tensorflow/java/libtensorflow.jar \
80 -Djava.library.path=bazel-bin/tensorflow/java \
84 Installation on Windows requires the more experimental [bazel on
85 Windows](https://bazel.build/versions/master/docs/windows.html). Details are
98 bazel build -c opt //tensorflow/java:pom
100 -Dfile=../../bazel-bin/tensorflow/java/libtensorflow.jar \
[all …]
/external/tensorflow/tensorflow/lite/java/demo/
DREADME.md14 ## Building from Source with Bazel
16 1. Follow the [Bazel steps for the TF Demo App](https://github.com/tensorflow/tensorflow/tree/maste…
18 …1. [Install Bazel and Android Prerequisites](https://github.com/tensorflow/tensorflow/tree/master/…
22 - Make sure to install the latest version of Bazel. Some distributions
23 ship with Bazel 0.5.4, which is too old.
24 - Bazel requires Android Build Tools `26.0.1` or higher.
41 2. Build the app with Bazel. The demo needs C++11:
44 bazel build -c opt --cxxopt='--std=c++11' \
52 adb install bazel-bin/tensorflow/lite/java/demo/app/src/main/TfLiteCameraDemo.apk
/external/opencensus-java/examples/
DREADME.md15 ### Bazel subsection
17 $ bazel build :all
32 ### Bazel subsection
34 $ ./bazel-bin/TagContextExample
49 ### Bazel subsection
51 $ ./bazel-bin/ZPagesTester
77 ### Bazel subsection
79 $ ./bazel-bin/QuickStart
109 ### Bazel subsection
111 $ ./bazel-bin/HelloWorldServer serverPort cloudProjectId zPagePort prometheusPort
[all …]
/external/tensorflow/tensorflow/tools/ci_build/builds/
Dlibtensorflow.sh46 echo "Must run this from the root of the bazel workspace"
60 bazel clean --expunge
64 # https://github.com/bazelbuild/bazel/issues/2352
65 # and https://github.com/bazelbuild/bazel/issues/1580
70 bazel test ${BAZEL_OPTS} \
74 bazel build ${BAZEL_OPTS} \
83 …cp bazel-bin/tensorflow/tools/lib_package/libtensorflow.tar.gz ${DIR}/libtensorflow${TARBALL_SUFFI…
84 …cp bazel-bin/tensorflow/tools/lib_package/libtensorflow_jni.tar.gz ${DIR}/libtensorflow_jni${TARBA…
85 cp bazel-bin/tensorflow/java/libtensorflow.jar ${DIR}
86 cp_normalized_srcjar bazel-bin/tensorflow/java/libtensorflow-src.jar ${DIR}/libtensorflow-src.jar
[all …]
Dandroid_full.sh43 bazel build --config=monolithic --cpu=${CPU} \
52 copy_lib bazel-bin/tensorflow/core/libandroid_tensorflow_lib.lo
53 copy_lib bazel-bin/tensorflow/contrib/android/libtensorflow_inference.so
54 copy_lib bazel-bin/tensorflow/examples/android/libtensorflow_demo.so
55 copy_lib bazel-bin/tensorflow/tools/benchmark/benchmark_model
58 cp bazel-bin/tensorflow/contrib/android/libtensorflow_inference.so ${AAR_LIB_TMP}/jni/${CPU}
63 # in assets/ dir (see https://github.com/bazelbuild/bazel/issues/2334)
66 bazel --bazelrc=/dev/null build --config=monolithic --fat_apk_cpu=${CPUS} \
74 cp bazel-bin/tensorflow/examples/android/tensorflow_demo.apk \
75 bazel-bin/tensorflow/contrib/android/libandroid_tensorflow_inference_java.jar ${OUT_DIR}
[all …]
/external/tensorflow/tensorflow/lite/examples/android/app/
DREADME.md15 ## Building from Source with Bazel
17 1. Follow the [Bazel steps for the TF Demo App](https://github.com/tensorflow/tensorflow/tree/maste…
19 …1. [Install Bazel and Android Prerequisites](https://github.com/tensorflow/tensorflow/tree/master/…
23 - Make sure to install the latest version of Bazel. Some distributions
24 ship with Bazel 0.5.4, which is too old.
25 - Bazel requires Android Build Tools `26.0.1` or higher.
42 2. Build this demo app with Bazel. The demo needs C++11. We configure the fat_apk_cpu flag to packa…
45 bazel build -c opt --cxxopt='--std=c++11' --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a \
53 adb install bazel-bin/tensorflow/lite/examples/android/tflite_demo.apk
/external/tensorflow/tensorflow/tools/ci_build/windows/gpu/bazel/
Drun_cc_test_windows.sh26 # * Bazel windows executable copied as "bazel.exe" and included in PATH.
32 # This script is under <repo_root>/tensorflow/tools/ci_build/windows/cpu/bazel
35 cd ${script_dir%%tensorflow/tools/ci_build/windows/gpu/bazel}.
37 # Setting up the environment variables Bazel and ./configure needs
38 source "tensorflow/tools/ci_build/windows/bazel/common_env.sh" \
42 source "tensorflow/tools/ci_build/windows/bazel/bazel_test_lib.sh" \
53 passing_tests=$(bazel query "kind(cc_test, //tensorflow/cc/... + //tensorflow/core/...) - (${exclud…
57 # TODO(pcloudy): There is a bug in Bazel preventing build with GPU support without -c opt
59 # bazel test --config=win-cuda -k $slow_compiling_test --test_output=errors
60 bazel test -c opt --config=win-cuda -k $passing_tests --test_output=errors
/external/tensorflow/tensorflow/tools/ci_build/windows/cpu/bazel/
Drun_cc_test_windows.sh26 # * Bazel windows executable copied as "bazel.exe" and included in PATH.
32 # This script is under <repo_root>/tensorflow/tools/ci_build/windows/cpu/bazel
35 cd ${script_dir%%tensorflow/tools/ci_build/windows/cpu/bazel}.
37 # Setting up the environment variables Bazel and ./configure needs
38 source "tensorflow/tools/ci_build/windows/bazel/common_env.sh" \
42 source "tensorflow/tools/ci_build/windows/bazel/bazel_test_lib.sh" \
51 passing_tests=$(bazel query "kind(cc_test, //tensorflow/cc/... + //tensorflow/core/...) - (${exclud…
55 bazel test -k $slow_compiling_test --test_output=errors
56 bazel test -c opt -k $passing_tests --test_output=errors
/external/wycheproof/
DBUILD26 # $ bazel test BouncyCastleAllTests
29 # $ bazel test BouncyCastleAllTests_1_52
32 # $ bazel test BouncyCastleAllTest_*
56 # $ bazel test SpongyCastleAllTests
59 # $ bazel test SpongyCastleAllTests_1_52
62 # $ bazel test SpongyCastleAllTests_*
79 # $ bazel test BouncyCastleTest
82 # $ bazel test BouncyCastleTest_1_52
85 # $ bazel test BouncyCastleTest_*
108 # $ bazel test SpongyCastleTest
[all …]
/external/tensorflow/tensorflow/tools/lib_package/
DREADME.md1 Bazel rules to package the TensorFlow APIs in languages other than Python into
15 bazel test --config opt //tensorflow/tools/lib_package:libtensorflow_test
16 bazel build --config opt //tensorflow/tools/lib_package:libtensorflow
20 `bazel-bin/tensorflow/tools/lib_package/libtensorflow.tar.gz`, which can be
35 bazel test --config opt //tensorflow/tools/lib_package:libtensorflow_test
36 bazel build --config opt \
45 `bazel-bin/tensorflow/tools/lib_package/libtensorflow_jni.tar.gz`
47 `bazel-bin/tensorflow/java/libtensorflow.jar`
49 `bazel-bin/tensorflow/java/libtensorflow-src.jar`
/external/grpc-grpc-java/
D.gitignore11 # Bazel
12 bazel-bin
13 bazel-examples
14 bazel-genfiles
15 bazel-grpc-java
16 bazel-out
17 bazel-testlogs

12345678910>>...26