1 # This file is licensed under the Apache License v2.0 with LLVM Exceptions.
2 # See https://llvm.org/LICENSE.txt for license information.
3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
6 load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
8 SKYLIB_VERSION = "1.0.3"
11 name = "bazel_skylib",
12 sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c",
14 "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/{version}/bazel-skylib-{version}.tar.gz".format(version=SKYLIB_VERSION),
15 "https://github.com/bazelbuild/bazel-skylib/releases/download/{version}/bazel-skylib-{version}.tar.gz".format(version=SKYLIB_VERSION),
22 build_file_content = "# empty",
25 load("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure")
27 llvm_configure(name = "llvm-project")
29 load("@llvm-raw//utils/bazel:terminfo.bzl", "llvm_terminfo_from_env")
32 llvm_terminfo_from_env,
33 name = "llvm_terminfo",
39 build_file = "@llvm-raw//utils/bazel/third_party_build:zlib.BUILD",
40 sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
41 strip_prefix = "zlib-1.2.11",
43 "https://storage.googleapis.com/mirror.tensorflow.org/zlib.net/zlib-1.2.11.tar.gz",
44 "https://zlib.net/zlib-1.2.11.tar.gz",
48 load("@llvm-raw//utils/bazel:zlib.bzl", "llvm_zlib_from_env")
53 external_zlib = "@zlib",
58 name = "vulkan_headers",
59 build_file = "@llvm-raw//utils/bazel/third_party_build:vulkan_headers.BUILD",
60 sha256 = "19f491784ef0bc73caff877d11c96a48b946b5a1c805079d9006e3fbaa5c1895",
61 strip_prefix = "Vulkan-Headers-9bd3f561bcee3f01d22912de10bb07ce4e23d378",
63 "https://github.com/KhronosGroup/Vulkan-Headers/archive/9bd3f561bcee3f01d22912de10bb07ce4e23d378.tar.gz",
67 load("@llvm-raw//utils/bazel:vulkan_sdk.bzl", "vulkan_sdk_setup")
75 name = "bazel_toolchains",
76 sha256 = "1adf5db506a7e3c465a26988514cfc3971af6d5b3c2218925cd6e71ee443fc3f",
77 strip_prefix = "bazel-toolchains-4.0.0",
79 "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/4.0.0/bazel-toolchains-4.0.0.tar.gz",
80 "https://github.com/bazelbuild/bazel-toolchains/releases/download/4.0.0/bazel-toolchains-4.0.0.tar.gz",
84 load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
86 rbe_autoconfig(name = "rbe_default")