From e438bb8ffa9f1bf03d57c1ec723506a95cba8ab4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 29 Aug 2021 16:17:02 +0300 Subject: work on packaging bazel --- bazel-workspace.patch | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 bazel-workspace.patch (limited to 'bazel-workspace.patch') diff --git a/bazel-workspace.patch b/bazel-workspace.patch new file mode 100644 index 0000000..850c8b6 --- /dev/null +++ b/bazel-workspace.patch @@ -0,0 +1,92 @@ +diff --git a/WORKSPACE b/WORKSPACE +index 0901064..7d82390 100755 +--- a/WORKSPACE ++++ b/WORKSPACE +@@ -424,23 +424,23 @@ http_archive( + ], + ) + +-load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") ++#load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") + +-rbe_autoconfig( +- name = "rbe_ubuntu1804_java11", +- detect_java_home = True, +- registry = "gcr.io", +- repository = "bazel-public/ubuntu1804-bazel-java11", +- tag = "latest", +-) ++#rbe_autoconfig( ++# name = "rbe_ubuntu1804_java11", ++# detect_java_home = True, ++# registry = "gcr.io", ++# repository = "bazel-public/ubuntu1804-bazel-java11", ++# tag = "latest", ++#) + +-rbe_autoconfig( +- name = "rbe_ubuntu1604_java8", +- detect_java_home = True, +- registry = "gcr.io", +- repository = "bazel-public/ubuntu1604-bazel-java8", +- tag = "latest", +-) ++#rbe_autoconfig( ++# name = "rbe_ubuntu1604_java8", ++# detect_java_home = True, ++# registry = "gcr.io", ++# repository = "bazel-public/ubuntu1604-bazel-java8", ++# tag = "latest", ++#) + + # Creates toolchain configuration for remote execution with BuildKite CI + # for rbe_ubuntu1604. +@@ -981,17 +981,17 @@ load("@io_bazel_skydoc//:setup.bzl", "stardoc_repositories") + + stardoc_repositories() + +-load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies") ++#load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies") + +-rules_sass_dependencies() ++#rules_sass_dependencies() + +-load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories") ++#load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories") + +-node_repositories() ++#node_repositories() + +-load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories") ++#load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories") + +-sass_repositories() ++#sass_repositories() + + register_execution_platforms("//:default_host_platform") # buildozer: disable=positional-args + +@@ -1051,18 +1051,18 @@ http_archive( + + # Projects using gRPC as an external dependency must call both grpc_deps() and + # grpc_extra_deps(). +-load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") ++#load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") + +-grpc_deps() ++#grpc_deps() + +-load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps") ++#load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps") + +-grpc_extra_deps() ++#grpc_extra_deps() + + load("//tools/distributions/debian:deps.bzl", "debian_deps") + + debian_deps() + +-load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") ++#load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") + +-bazel_skylib_workspace() ++#bazel_skylib_workspace() -- cgit v1.2.3