From ed964c055d797d7910bd5aeccff30c78c52c96b5 Mon Sep 17 00:00:00 2001 From: irfan sharif Date: Mon, 23 Nov 2020 19:00:05 -0500 Subject: [PATCH] bazel: add freebsd support Fixes #56013. We're picking up bazelbuild/rules_foreign_cc/pull/387 (included in our new fork at cockroachdb/rules_foreign_cc). We've also picked up Oliver's PR adding autoconf support (bazelbuild/rules_foreign_cc/pull/432); we were pointing to Oliver's own fork previously to pick up those changes. Release note: None --- WORKSPACE | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index d7e7e4a11a4c..6a377fc715b5 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -66,14 +66,17 @@ load("//c-deps:REPOSITORIES.bzl", "c_deps") c_deps() -# Load the bazel utility that lets us build C/C++ projects using cmake/make/etc. +# Load the bazel utility that lets us build C/C++ projects using +# cmake/make/etc. We point our fork which adds autoconf support +# (https://github.com/bazelbuild/rules_foreign_cc/pull/432) and BSD support +# (https://github.com/bazelbuild/rules_foreign_cc/pull/387). # -# TODO(irfansharif): Point to an upstream SHA once it picks up Oliver's changes -# that add autoconf support. +# TODO(irfansharif): Point to an upstream SHA once maintainers pick up the +# aforementioned PRs. git_repository( name = "rules_foreign_cc", - commit = "605c77171f20840464301d7d01d6cd9e3a982888", - remote = "https://github.com/otan-cockroach/rules_foreign_cc", + commit = "8fdca4480f3fa9c084f4a73749a46fa17996beb1", + remote = "https://github.com/cockroachdb/rules_foreign_cc", ) load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies") rules_foreign_cc_dependencies()