commit | 94c295a7229648f34b6d27957dea8c982fc73b4e | [log] [tgz] |
---|---|---|
author | Philipp Wagner <phw@lowrisc.org> | Tue Jan 07 22:01:22 2020 +0000 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Wed Jan 08 10:50:30 2020 +0000 |
tree | 065cab7b4b08528d20d063b7a73f445434fca4a2 | |
parent | 4425b287f8d2c6de6f10410192ee7ef761c71189 [diff] |
Avoid broken meson version 0.53.0 on Python 3.5.2 Meson 0.53.0 broke compatibility with Python 3.5.2 Error message with meson 0.53.0 in our Ubuntu 16.04/Python 3.5.2 CI environment: ``` meson -Dtarget=sim-verilator -Dot_version=opentitan-snapshot-20191101-1-434-gb99db7f -Ddev_bin_dir=/home/vsts/work/1/a/build-bin/sw/device/sim-verilator -Dhost_bin_dir=/home/vsts/work/1/a/build-bin/sw/host --cross-file=/tmp/toolchain.dhA3HP.txt /home/vsts/work/1/a/build-out/sw/sim-verilator Traceback (most recent call last): File "/usr/local/bin/meson", line 11, in <module> load_entry_point('meson==0.53.0', 'console_scripts', 'meson')() File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2852, in load_entry_point return ep.load() File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2443, in load return self.resolve() File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2449, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/lib/python3.5/dist-packages/mesonbuild/mesonmain.py", line 25, in <module> from . import mconf, mdist, minit, minstall, mintro, msetup, mtest, rewriter, msubprojects, munstable_coredata File "/usr/local/lib/python3.5/dist-packages/mesonbuild/mconf.py", line 16, in <module> from . import coredata, environment, mesonlib, build, mintro, mlog File "/usr/local/lib/python3.5/dist-packages/mesonbuild/environment.py", line 32, in <module> from . import compilers File "/usr/local/lib/python3.5/dist-packages/mesonbuild/compilers/__init__.py", line 102, in <module> from .compilers import ( File "/usr/local/lib/python3.5/dist-packages/mesonbuild/compilers/compilers.py", line 389, in <module> class CompilerArgs(typing.MutableSequence[str]): File "/usr/local/lib/python3.5/dist-packages/mesonbuild/compilers/compilers.py", line 658, in CompilerArgs def __eq__(self, other: typing.Any) -> typing.Union[bool, 'NotImplemented']: "Forward references must evaluate to types.") File "/usr/lib/python3.5/typing.py", line 312, in _type_check raise TypeError(msg + " Got %.100r." % (arg,)) TypeError: Forward references must evaluate to types. Got NotImplemented. ``` Works around #1288 for now. Reported upstream at https://github.com/mesonbuild/meson/issues/6427 Signed-off-by: Philipp Wagner <phw@lowrisc.org>
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 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 either access it online or build it locally by following the steps below.
$ sudo apt install curl python3 python3-pip $ pip3 install --user -r python-requirements.txt
$ ./util/build_docs.py --preview
This compiles the documentation into ./build/docs
and starts a local server, which allows you to access the documentation at http://127.0.0.1:1313.
Have a look at CONTRIBUTING 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).