Skip to content

Commit

Permalink
bazel: add freebsd support
Browse files Browse the repository at this point in the history
Fixes cockroachdb#56013. We're picking up bazel-contrib/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
(bazel-contrib/rules_foreign_cc/pull/432); we were pointing to Oliver's own
fork previously to pick up those changes.

Release note: None
  • Loading branch information
irfansharif committed Nov 24, 2020
1 parent 191dc37 commit ed964c0
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit ed964c0

Please sign in to comment.