forked from mongodb/mongo-cxx-driver
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathWORKSPACE
39 lines (27 loc) · 1.02 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
workspace(name = "bazelregistry_mongo_cxx_driver")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
local_repository(
name = "bazelregistry_mongo_c_driver",
path = "../mongo-c-driver",
)
load("@bazelregistry_mongo_c_driver//:config.bzl", "mongo_c_driver_common_config", "bson_config", "mongoc_config")
mongo_c_driver_common_config()
bson_config()
mongoc_config()
load("//:config.bzl", "bsoncxx_config", "mongocxx_config")
bsoncxx_config()
mongocxx_config()
http_archive(
name = "com_grail_bazel_toolchain",
strip_prefix = "bazel-toolchain-master",
urls = ["https://github.com/grailbio/bazel-toolchain/archive/master.tar.gz"],
)
load("@com_grail_bazel_toolchain//toolchain:deps.bzl", "bazel_toolchain_dependencies")
bazel_toolchain_dependencies()
load("@com_grail_bazel_toolchain//toolchain:rules.bzl", "llvm_toolchain")
llvm_toolchain(
name = "llvm_toolchain",
llvm_version = "11.0.0",
)
load("@llvm_toolchain//:toolchains.bzl", "llvm_register_toolchains")
llvm_register_toolchains()