| commit | b88c01b80855ea46a28cd26bcba9d397ec6cf921 | [log] [tgz] |
|---|---|---|
| author | Timothy Trippel <ttrippel@google.com> | Wed Apr 13 22:51:18 2022 -0700 |
| committer | Timothy Trippel <5633066+timothytrippel@users.noreply.github.com> | Thu Apr 14 10:00:46 2022 -0700 |
| tree | e1c1e1c90f15156d1398026211c9aef7b3f7d34f | |
| parent | 975fb6634b9c935301196a6c525c216aaa7f2c8b [diff] |
[bazel] detect airgapped mode in `pip_wheel` repo rule In #12091, a custom bazel repository rule was setup to pre-download / build python wheels to transport them to an airgapped machine so the `pip_install` rule does not attempt to go to the internet. This commit enables the custom bazel repository rule previously added to detect if it is executing in airgapped mode (via an environment variable), and if so, use the pre-built/local Python wheels repo. This fixes #12090. 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]({{< relref “CONTRIBUTING.md” >}}) 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).