commit | 1e5fc8ebb28215cb6a2213cf06407079063e69e0 | [log] [tgz] |
---|---|---|
author | Miguel Osorio <miguelosorio@google.com> | Mon Sep 23 17:33:54 2019 -0700 |
committer | Miguel Osorio <miguelaosoriol@gmail.com> | Tue Sep 24 14:44:58 2019 -0700 |
tree | a6e4b86d66178f473c46f890ca09125d430192b4 | |
parent | 2ffebe5354a66d1cf5c5243726f8969a455eaef7 [diff] |
[util] Add update support to get-toolchain.py Add support to util/get-toolchain.py to force toolchain updates on target directory if the version tag stored in the /toolchain_dir/buildinfo file doesn't match the version specified by the user. If the latest version is selected, use the version tag associated with it when update mode is enabled. Using the update flag: ```console $ util/get-toolchain.py -t /tmp/riscv -r 20190827-2 --update Downloading toolchain from <URL ...> Toolchain downloaded and installed to /tmp/riscv $ util/get-toolchain.py -t /tmp/riscv -r 20190827-2 --update Toolchain version 20190827-2 already installed at /tmp/riscv. Skipping install. ``` If target dir contains a different version: ```console $ util/get-toolchain.py -t /tmp/riscv -r 20190827-2 --update $ Cleaning target_dir before attempting install. $ ... $ Toolchain downloaded and installed to /tmp/riscv ```
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).