Skip to content

Instantly share code, notes, and snippets.

@celskeggs
Created December 1, 2019 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save celskeggs/e2a4d6fb49773b7758f88de95fd1a6c8 to your computer and use it in GitHub Desktop.
Save celskeggs/e2a4d6fb49773b7758f88de95fd1a6c8 to your computer and use it in GitHub Desktop.
Can't build ceph with rules_foreign_cc
# to reproduce: bazel build @ceph//:all
# will OOM
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "ceph",
url = "https://download.ceph.com/tarballs/ceph_14.2.4.orig.tar.gz",
sha256 = "7180b6afcac57d858f1b7cf49615e8903fbf1a701ae00fb956a5656d608fd0f8",
build_file_content = """filegroup(name = "all", srcs = glob(["**"]), visibility = ["//visibility:public"])""",
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment