commit | b99dd9c6a3996843a372f509b6b08bac72473a5c | [log] [tgz] |
---|---|---|
author | Timothy Trippel <ttrippel@google.com> | Mon Sep 26 20:14:00 2022 +0000 |
committer | Timothy Trippel <5633066+timothytrippel@users.noreply.github.com> | Mon Sep 26 21:25:35 2022 -0700 |
tree | b4e243faa6cc600900f136ad3911b6c512ff3f8b | |
parent | ec4f5cbd7aeb5fbe94873619f7aa3bc81eae1c1d [diff] |
[bazel] make go toolchain dependency config work in airgapped env This updates the way the go toolchain is downloaded/included in our Bazel workspace to enable Bazel builds in an airgapped environment. Specifically, #15044 exposed a bug in our go toolchain dependency that caused Bazel builds to fail in the airgapped environment. The fix for this was to manually specify the exact toolchain tarballs to be downloaded using the `go_download_sdk` repo rule, instead of the `go_register_toolchain` rule which attempts to automatically find the right toolchain to download by downloading a file from the Internet that is not cacheable, since no sha256 is provided to the `ctx.download` action, and therefore not accessible in an airgapped environment. Signed-off-by: Timothy Trippel <ttrippel@google.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).