3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-05 13:56:04 +00:00
This commit is contained in:
Mohamed Gaber 2025-11-02 23:29:04 +05:30 committed by GitHub
commit 455f013c5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 38 additions and 15 deletions

View file

@ -99,8 +99,7 @@ Installing all prerequisites for Ubuntu 22.04:
sudo apt-get install gperf build-essential clang lld bison flex libfl-dev \
libreadline-dev gawk tcl-dev libffi-dev git \
graphviz xdot pkg-config python3 libboost-system-dev \
libboost-python-dev libboost-filesystem-dev zlib1g-dev
graphviz xdot pkg-config python3-dev tox zlib1g-dev
Installing all prerequisites for macOS 13 (with Homebrew):
@ -141,7 +140,7 @@ For Cygwin use the following command to install all prerequisites, or select the
missing `strdup` function when using gcc. It is instead recommended to use
Windows Subsystem for Linux (WSL) and follow the instructions for Ubuntu.
..
..
For MSYS2 (MINGW64):
.. code:: console
@ -215,7 +214,7 @@ Running the build system
From the root ``yosys`` directory, call the following commands:
.. code:: console
make
sudo make install
@ -228,7 +227,7 @@ To use a separate (out-of-tree) build directory, provide a path to the Makefile.
Out-of-tree builds require a clean source tree.
.. seealso::
.. seealso::
Refer to :doc:`/yosys_internals/extending_yosys/test_suites` for details on
testing Yosys once compiled.

View file

@ -28,6 +28,14 @@ methods:
``yosys -y ./my_pyosys_script.py``
Do note this requires some build-time dependencies to be available to Python,
namely, ``pybind11`` and ``cxxheaderparser``. By default, the required
``tox`` package will be used to create an ephemeral environment with the
correct versions of the tools installed.
You can force use of your current Python environment by passing the Makefile
flag ``PYOSYS_USE_TOX=0``.
2. Installing the Pyosys wheels
On macOS and GNU/Linux you can install pre-built wheels of Yosys using