| Lorenz Brun | 344237a | 2024-08-21 17:33:36 +0200 | [diff] [blame^] | 1 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 2 | |
| 3 | def urcu_external(name, version): |
| 4 | sums = { |
| 5 | "0.14.0": "sha256-QvtRKaP//lpLeQ3+HqOnNMae4JX++/ZJMmJpu6lMJi0=", |
| 6 | } |
| 7 | |
| 8 | http_archive( |
| 9 | name = name, |
| 10 | integrity = sums[version], |
| 11 | strip_prefix = "userspace-rcu-" + version, |
| 12 | build_file = "@//third_party/urcu:urcu.bzl", |
| 13 | patch_args = ["-p1"], |
| 14 | patches = ["//third_party/urcu/patches:generated-files.patch"], |
| 15 | urls = ["https://github.com/urcu/userspace-rcu/archive/refs/tags/v%s.tar.gz" % version], |
| 16 | ) |