Home
last modified time | relevance | path

Searched +full:bazel +full:- +full:2 (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/external/rust/crates/grpcio-sys/grpc/bazel/test/python_test_repo/tools/
Dbazel8 # http://www.apache.org/licenses/LICENSE-2.0
17 # Keeping up with Bazel's breaking changes is currently difficult.
18 # This script wraps calling bazel by downloading the currently
20 # that running bazel will always get meaningful results, at least
21 # until Bazel 1.0 is released.
22 # NOTE: This script relies on bazel's feature where //tools/bazel
23 # script can be used to hijack "bazel" invocations in given workspace.
25 set -e
33 # https://github.com/bazelbuild/bazel/blob/master/scripts/packages/bazel.sh
35 # run "bazel" in our workspace)
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/
Dbazel8 # http://www.apache.org/licenses/LICENSE-2.0
17 # Keeping up with Bazel's breaking changes is currently difficult.
18 # This script wraps calling bazel by downloading the currently
20 # that running bazel will always get meaningful results, at least
21 # until Bazel 1.0 is released.
22 # NOTE: This script relies on bazel's feature where //tools/bazel
23 # script can be used to hijack "bazel" invocations in given workspace.
25 set -e
33 # https://github.com/bazelbuild/bazel/blob/master/scripts/packages/bazel.sh
35 # run "bazel" in our workspace)
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/
DREADME.md1 # Third-party libraries
3 gRPC depends on several third-party libraries, their source code is available
8 - IMPORTANT: whenever possible, try to only update to a stable release of a library (= not to maste…
12 - bazel BUILD uses a different dependency model - whenever updating a submodule, also update the re…
13 non-bazel builds stay in sync (this is actually enforced by a sanity check in some cases)
15 ## Considerations when adding a new third-party dependency
17 - gRPC C++ needs to stay buildable/installable even if the submodules are not present (e.g. the tar…
21 - Adding a new dependency is a lot of work (both for us and for the users).
22 …We currently support multiple build systems (BAZEL, cmake, make, ...) so adding a new dependency u…
26 …r the users and community - it means that all users will need to update their projects accordingly…
[all …]
/external/tensorflow/tensorflow/tools/ci_build/install/
Dinstall_bazel.sh8 # http://www.apache.org/licenses/LICENSE-2.0
17 # Select bazel version.
18 BAZEL_VERSION="3.7.2"
21 local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')
27 set -e
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…
[all …]
Dinstall_bazel_from_source.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 # It will compile bazel from source and install it in /usr/local/bin
20 # Select bazel version.
21 BAZEL_VERSION="3.7.2"
24 local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')
30 set -e
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…
[all …]
/external/tensorflow/tensorflow/python/keras/benchmarks/keras_examples_benchmarks/
DREADME.md3 - [Benchmarks for keras model examples](#benchmarks-for-keras-model-examples)
4 - [Keras benchmarks](#keras-benchmarks)
5 - [Available models](#available-models)
6 - [Computer Vision examples](#computer-vision-examples)
7 - [Text & Sequence examples](#text--sequence-examples)
8 - [Other examples](#other-examples)
9 - [Available benchmark results](#available-benchmark-results)
10 - [Cifar10 CNN benchmark](#cifar10-cnn-benchmark)
11 - [MNIST Conv benchmark](#mnist-conv-benchmark)
12 - [MNIST Hierarchical RNN (HRNN) benchmark](#mnist-hierarchical-rnn-hrnn-benchmark)
[all …]
/external/rust/crates/grpcio-sys/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.
20 …storage.googleapis.com/summerofcode-prod.appspot.com/gsoc/core_project/doc/5316764725411840_152204…
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)
33 though. There's still challenges when it comes to building for Python 2 vs 3.
[all …]
/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.
20 …storage.googleapis.com/summerofcode-prod.appspot.com/gsoc/core_project/doc/5316764725411840_152204…
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)
33 though. There's still challenges when it comes to building for Python 2 vs 3.
[all …]
/external/dagger2/
DCONTRIBUTING.md25 [GitHub Help]: https://help.github.com/articles/about-pull-requests/
29 Dagger is built with [`bazel`](https://bazel.build).
33 * [Install Bazel](https://docs.bazel.build/versions/master/install.html)
34 * Build the Dagger project with `bazel build <target>`
35 * Learn more about Bazel targets [here][bazel targets].
40 [download](https://developer.android.com/studio#command-tools)
43 `$ANDROID_HOME/tools/bin/sdkmanager "platforms;android-30" "build-tools;30.0.2"`
45 `ERROR: missing input file '@androidsdk//:build-tools/30.0.2/aapt'`.
46 * You may also need to run `bazel sync`.
47 * Run tests with `bazel test <target>`, or `bazel test //...` to run all
[all …]
/external/tflite-support/tensorflow_lite_support/tools/ci_build/
Dcommon.sh8 # http://www.apache.org/licenses/LICENSE-2.0
19 # TODO(b/158448780): Guard bazel version with IfChangeThenChange.
27 if [[ $? -ne 0 ]]; then
34 echo "$@" 1>&2 ; exit 1;
42 result=$("$@" 2>&1) || die "$result"
45 set -x
48 # TODO(b/158448780): Guard bazel installation with IfChangeThenChange.
50 mkdir -p /tmpfs/bazel_output
54 # Downloads bazelisk to ~/bin as `bazel`.
57 case "$(uname -s)" in
[all …]
/external/tensorflow/tensorflow/tools/ci_build/builds/
Dlibtensorflow.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 # (1) The TensorFlow C-library: Containing C API header files and libtensorflow.so
19 # (2) Native library for the TensorFlow Java API: Containing libtensorflow_jni.so
29 # - Source this file in another bash script
30 # - Execute build_libtensorflow_tarball SUFFIX
33 # - lib_package/libtensorflow${SUFFIX}.tar.gz
34 # - lib_package/libtensorflow_jni${SUFFIX}.tar.gz
35 # - lib_package/libtensorflow.jar
36 # - lib_package/libtensorflow-src.jar
37 # - lib_package/libtensorflow_proto.zip
[all …]
/external/swiftshader/third_party/marl/kokoro/macos/
Dbuild.sh9 # https://www.apache.org/licenses/LICENSE-2.0
17 set -e # Fail on any error.
21 function show_cmds { set -x; }
22 function hide_cmds { { set +x; } 2>/dev/null; }
32 git submodule update --init
38 BUILD_DIR=/tmp/marl-build
42 COMMON_CMAKE_FLAGS+=" -DCMAKE_BUILD_TYPE=${BUILD_TYPE}"
43 COMMON_CMAKE_FLAGS+=" -DMARL_BUILD_EXAMPLES=1"
44 COMMON_CMAKE_FLAGS+=" -DMARL_BUILD_TESTS=1"
45 COMMON_CMAKE_FLAGS+=" -DMARL_BUILD_BENCHMARKS=1"
[all …]
/external/rust/crates/grpcio-sys/grpc/bazel/
Dgrpc_deps.bzl1 """Load dependencies needed to compile and test the grpc library as a 3rd-party consumer."""
4 load("@com_github_grpc_grpc//bazel:grpc_python_deps.bzl", "grpc_python_deps")
35 name = "absl-base",
40 name = "absl-time",
105 name = "opencensus-context",
110 name = "opencensus-trace",
115 name = "opencensus-trace-context_util",
120 name = "opencensus-stats",
125 name = "opencensus-stats-test",
130 name = "opencensus-with-tag-map",
[all …]
Dupdate_mirror.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 # Script to upload github archives for bazel dependencies to GCS, creating a reliable mirror link.
17 …ves are copied to "grpc-bazel-mirror" GCS bucket (https://console.cloud.google.com/storage/browser…
18 # and will by downloadable with the https://storage.googleapis.com/grpc-bazel-mirror/ prefix.
20 # This script should be run each time bazel dependencies are updated.
22 set -e
28 tmpdir="$(mktemp -d)"
30 rm -rf "$tmpdir"
38 curl -L --fail --output "${tmpdir}/archive" "https://${file}"
40 echo "Uploading https://${file} to https://storage.googleapis.com/grpc-bazel-mirror/${file}"
[all …]
/external/tensorflow/tensorflow/tools/pip_package/
Dbuild_pip_package.sh8 # http://www.apache.org/licenses/LICENSE-2.0
18 set -e
21 [[ "$1" = /* ]] || [[ "$1" =~ ^[a-zA-Z]:[/\\].* ]]
30 local dest_dir=$2
34-type d ! -name '*.py' ! -path '*local_config_cuda*' ! -path '*local_config_tensorrt*' ! -path '*l…
35 mkdir -p "${dest_dir}/$(dirname ${f})"
40 mkdir -p "${dest_dir}/local_config_cuda/cuda/cuda/"
46 local dst_dir=$2
50 if [ ! -f "${src_dir}/${srcs_txt}" ]; then
51 echo Could not find source list file "${src_dir}/${srcs_txt}". 1>&2
[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 …stall Bazel and Android Prerequisites](https://github.com/tensorflow/tensorflow/tree/master/tensor…
21 - You'll need at least SDK version 23.
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 `28.0.0` or higher.
25 - You also need to install the Android Support Repository, available
26 through Android Studio under `Android SDK Manager -> SDK Tools ->
292. [Edit your `WORKSPACE`](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/example…
[all …]
/external/tensorflow/tensorflow/tools/ci_build/windows/gpu/bazel/
Drun_cc_test_windows.sh8 # http://www.apache.org/licenses/LICENSE-2.0
22 # - JDK8, and JAVA_HOME set.
23 # - Microsoft Visual Studio 2015 Community Edition
24 # - Msys2
25 # - Anaconda3
26 # * Bazel windows executable copied as "bazel.exe" and included in PATH.
29 set -x
30 set -e
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}.
[all …]
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dbuild_rpi.md15 **Note:** This page only covers 32-bit builds. If you're looking for 64-bit
18 **Note:** Cross-compile ARM with CMake is available. Please check
21 ## Cross-compile for Raspberry Pi with Make
23 The following instructions have been tested on Ubuntu 16.04.3 64-bit PC (AMD64)
29 #### Step 1. Clone official Raspberry Pi cross-compilation toolchain
35 #### Step 2. Clone TensorFlow repository
54 #### Step 4a. To build ARMv7 binary for Raspberry Pi 2, 3 and 4
57 PATH=../rpi_tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin:$PATH \
62 `tensorflow/lite/tools/make/gen/rpi_armv7l/lib/libtensorflow-lite.a`.
71 ./tensorflow/lite/tools/make/build_rpi_lib.sh -j 16 # run with 16 jobs to leverage more CPU cores
[all …]
/external/tensorflow/tensorflow/tools/ci_build/release/
Dcommon_win.bat7 :: http://www.apache.org/licenses/LICENSE-2.0
29 %PY_EXE% -m pip install --upgrade "setuptools<53" pip wheel
34 %PY_EXE% -m pip install "numpy ~= 1.19.2"
36 %PY_EXE% -m pip install "absl-py ~= 0.10"
37 %PY_EXE% -m pip install "astunparse ~= 1.6.3"
38 %PY_EXE% -m pip install "flatbuffers ~= 1.12.0"
39 %PY_EXE% -m pip install "google_pasta ~= 0.2"
40 %PY_EXE% -m pip install "h5py ~= 3.1.0"
41 %PY_EXE% -m pip install "keras_preprocessing ~= 1.1.2"
42 %PY_EXE% -m pip install "opt_einsum ~= 3.3.0"
[all …]
Dcommon.sh8 # http://www.apache.org/licenses/LICENSE-2.0
20 LATEST_BAZEL_VERSION=3.7.2
32 if [[ $? -ne 0 ]]; then
39 echo "$@" 1>&2 ; exit 1;
47 result=$("$@" 2>&1) || die "$result"
50 set -x
54 # Redirect bazel output dir b/73748835
56 mkdir -p /tmpfs/bazel_output
60 # Downloads bazelisk to ~/bin as `bazel`.
63 case "$(uname -s)" in
[all …]
/external/tensorflow/tensorflow/tools/ci_build/windows/cpu/bazel/
Drun_cc_test_windows.sh8 # http://www.apache.org/licenses/LICENSE-2.0
22 # - JDK8, and JAVA_HOME set.
23 # - Microsoft Visual Studio 2015 Community Edition
24 # - Msys2
25 # - Anaconda3
26 # * Bazel windows executable copied as "bazel.exe" and included in PATH.
29 set -x
30 set -e
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}.
[all …]
/external/tensorflow/tensorflow/tools/dockerfiles/partials/ubuntu/
Dbazel.partial.Dockerfile1 RUN apt-get update && apt-get install -y \
2 build-essential \
6 openjdk-8-jdk \
7 python3-dev \
11 RUN python3 -m pip --no-cache-dir install \
25 # Install bazel
26 ARG BAZEL_VERSION=3.7.2
27 RUN mkdir /bazel && \
28 …wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION…
29 …wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
[all …]
/external/tensorflow/tensorflow/tools/dockerfiles/partials/onednn/centos/
Dbazel.partial.Dockerfile1 # Install bazel
2 ARG BAZEL_VERSION=3.7.2
3 RUN mkdir /bazel && \
4 …curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_V…
5 …curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENS…
6 bash /bazel/installer.sh && \
7 rm -f /bazel/installer.sh
/external/swiftshader/third_party/marl/kokoro/windows/
Dpresubmit.bat7 REM https://www.apache.org/licenses/LICENSE-2.0
27 git submodule update --init
38 -G "%BUILD_GENERATOR%" ^
39 -A "%BUILD_TARGET_ARCH%" ^
40 "-DMARL_BUILD_TESTS=1" ^
41 "-DMARL_BUILD_EXAMPLES=1" ^
42 "-DMARL_BUILD_BENCHMARKS=1" ^
43 "-DMARL_WARNINGS_AS_ERRORS=1" ^
44 "-DMARL_DEBUG_ENABLED=1"
46 cmake --build . --config %CONFIG%
[all …]
/external/tensorflow/tensorflow/tools/dockerfiles/partials/onednn/ubuntu/
Dbazel.partial.Dockerfile1 RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
4 # Install bazel
5 ARG BAZEL_VERSION=3.7.2
6 RUN mkdir /bazel && \
7 …curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_V…
8 …curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENS…
9 bash /bazel/installer.sh && \
10 rm -f /bazel/installer.sh

12345678910>>...19