-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create separate repo for distributing renode sources to build rules
Internal-tag: [#49833] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
- Loading branch information
Showing
6 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | ||
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") | ||
|
||
def fetch_renode_sources(): | ||
def load_renode_sources(): | ||
renode_version = "1.14.0" | ||
archive_sha256 = "0de44db355a26d49ff66665765b97d2346daa1233a59f0468bc6e117c750036e" | ||
|
||
maybe( | ||
http_archive, | ||
name = "toolchain_renode", | ||
name = "renode_sources", | ||
url = "https://github.com/renode/renode/releases/download/v%s/renode_%s_source.tar.xz" % (renode_version, renode_version), | ||
sha256 = archive_sha256, | ||
strip_prefix = "renode_%s_source" % renode_version, | ||
build_file = "//toolchain_renode:BUILD.renode_sources", | ||
build_file = "//renode_sources:BUILD", | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters