commit | 88179fc760529329c01916b3504d15af36fed5fd | [log] [tgz] |
---|---|---|
author | Miguel Osorio <miguelosorio@google.com> | Thu Sep 19 23:37:48 2019 -0700 |
committer | Miguel Osorio <miguelaosoriol@gmail.com> | Wed Sep 25 08:26:52 2019 -0700 |
tree | 59777d082cb311fedfe2680ef750ab86a540d4fa | |
parent | e2a3fb7f93912761ef0ab837c3a52058a4b8eeac [diff] |
[CI] Add SW build using make targets Add software build targets to Azure pipelines. This may eventually change once we add system test coverage to CI. To run the flow in local mode: ```console $ cd ${REPO_TOP} $ ci/run_sw_build.sh ``` By default TOOLCHAIN_PATH points to /tools/riscv. If overridden, the script will fetch the toolchain if needed before running the build, e.g.: ```console $ cd ${REPO_TOP} $ TOOLCHAIN_PATH=/tmp/toolchain-path ci/run_sw_build.sh ``` Additional ENVARs: * `REQUEST_UPDATE`: If set to true, the script will attempt to update toolchain to the requested `TOOLCHAIN_VERSION` which defaults to `latest`. Other Comments: * Why a shell script instead of Python? I expect that once we move to a new build system, the script will no longer require to hardcode the target enumeration, so the bulk of the logic will be gone. I am open to rewriting in Python if we prefer consistency.
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.
The project contains comprehensive documentation of all IPs and tools. You can either access it online or build it locally by following the steps below.
$ sudo apt install python3 python3-pip $ pip3 install --user -r python-requirements.txt
$ ./util/build_docs.py --preview
This compiles the documentation into ./opentitan-docs
and starts a local server, which allows you to access the documentation at http://127.0.0.1:5500.
Have a look at CONTRIBUTING.md for guidelines 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).