|
19 | 19 |
|
20 | 20 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
21 | 21 |
|
| 22 | +http_archive( |
| 23 | + name = "hedron_compile_commands", |
| 24 | + #Replace the commit hash (4f28899228fb3ad0126897876f147ca15026151e) with the latest commit hash from the repo |
| 25 | + url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/4f28899228fb3ad0126897876f147ca15026151e.tar.gz", |
| 26 | + strip_prefix = "bazel-compile-commands-extractor-4f28899228fb3ad0126897876f147ca15026151e", |
| 27 | +) |
| 28 | +load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_setup") |
| 29 | +hedron_compile_commands_setup() |
| 30 | +load("@hedron_compile_commands//:workspace_setup_transitive.bzl", "hedron_compile_commands_setup_transitive") |
| 31 | +hedron_compile_commands_setup_transitive() |
| 32 | +load("@hedron_compile_commands//:workspace_setup_transitive_transitive.bzl", "hedron_compile_commands_setup_transitive_transitive") |
| 33 | +hedron_compile_commands_setup_transitive_transitive() |
| 34 | +load("@hedron_compile_commands//:workspace_setup_transitive_transitive_transitive.bzl", "hedron_compile_commands_setup_transitive_transitive_transitive") |
| 35 | +hedron_compile_commands_setup_transitive_transitive_transitive() |
| 36 | + |
22 | 37 | http_archive( |
23 | 38 | name = "rules_foreign_cc", |
24 | 39 | sha256 = "69023642d5781c68911beda769f91fcbc8ca48711db935a75da7f6536b65047f", |
@@ -238,6 +253,19 @@ http_archive( |
238 | 253 | ], |
239 | 254 | ) |
240 | 255 |
|
| 256 | +http_archive( |
| 257 | + name = "nlohmann_json", |
| 258 | + build_file = "//third_party:json.BUILD", |
| 259 | + sha256 = "95651d7d1fcf2e5c3163c3d37df6d6b3e9e5027299e6bd050d157322ceda9ac9", |
| 260 | + strip_prefix = "json-3.11.2", |
| 261 | + url = "https://github.com/nlohmann/json/archive/refs/tags/v3.11.2.zip", |
| 262 | +) |
| 263 | + |
| 264 | +bind( |
| 265 | + name = "json", |
| 266 | + actual = "@nlohmann_json//:json", |
| 267 | +) |
| 268 | + |
241 | 269 | load("@com_resdb_nexres//:repositories.bzl", "nexres_repositories") |
242 | 270 |
|
243 | 271 | nexres_repositories() |
0 commit comments