blob: a8ce95ba42cecb532abaa29b234414d700c815bd [file]
# 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_riscv_repos():
""" Load dependencies needed to use mpact-riscv as a 3rd-party consumer"""
if not native.existing_rule("com_google_mpact-sim"):
http_archive(
name = "com_google_mpact-sim",
sha256 = "117b8c8c3508e0c7975c2560b58cb742662568e3fd33722e01c4c07f742d1a54",
strip_prefix = "mpact-sim-323f07a5bf5e9eea2ad337e295a53235eaa3bfee",
url = "https://github.com/google/mpact-sim/archive/323f07a5bf5e9eea2ad337e295a53235eaa3bfee.tar.gz",
)