mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
21 lines
671 B
Python
21 lines
671 B
Python
"""Module extension for the llvm_zlib repository."""
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
|
|
|
|
def _llvm_zlib_impl(ctx):
|
|
maybe(
|
|
http_archive,
|
|
name = "llvm_zlib",
|
|
build_file = "@llvm-raw//utils/bazel/third_party_build:zlib-ng.BUILD",
|
|
sha256 = "e36bb346c00472a1f9ff2a0a4643e590a254be6379da7cddd9daeb9a7f296731",
|
|
strip_prefix = "zlib-ng-2.0.7",
|
|
urls = [
|
|
"https://github.com/zlib-ng/zlib-ng/archive/refs/tags/2.0.7.zip",
|
|
],
|
|
)
|
|
|
|
llvm_zlib_extension = module_extension(
|
|
implementation = _llvm_zlib_impl,
|
|
)
|