blob: 0d3b6d443e19bb6a76b66c5c677c177c53de92e6 [file] [log] [blame]
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Load dependent repositories"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def mpact_cheriot_repos():
""" Load dependencies needed to use mpact-riscv as a 3rd-party consumer"""
if not native.existing_rule("com_google_mpact-riscv"):
http_archive(
name = "com_google_mpact-riscv",
sha256 = "197130ded17a63c9521a89320534fc25a13b11e1b2bc9a60c343b7e49e181123",
strip_prefix = "mpact-riscv-b9b96386e92c82f512a118972e72c8616adfac9c",
url = "https://github.com/google/mpact-riscv/archive/b9b96386e92c82f512a118972e72c8616adfac9c.tar.gz",
)