Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added dependency installer script for Fedora #2860

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion doc/src/quickstart/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,18 @@ If you cloned the repository, you will need to set up the git submodules (if you
> git submodule init
> git submodule update

VTR requires several system packages and Python packages to build and run the flow. You can install the required system packages using the following command (this works on Ubuntu 18.04, 20.04 and 22.04, but you may require different packages on other Linux distributions). Our CI testing is on Ubuntu 22.04, so that is the best tested platform and recommended for development.
VTR requires several system packages and Python packages to build and run the flow. Ubuntu users can install the required system packages using the following command (this works on Ubuntu 18.04, 20.04, 22.04 and 24.04, but you may require different packages on other Linux distributions). Our CI testing is on Ubuntu 24.04, so that is the best tested platform and recommended for development.

.. code-block:: bash

> ./install_apt_packages.sh

Fedora and RHEL users may use the following command to install the required system packages.

.. code-block:: bash

> ./install_dnf_packages.sh

Then, to install the required Python packages (optionally within a new Python virtual environment):

.. code-block:: bash
Expand Down
52 changes: 52 additions & 0 deletions install_dnf_packages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
sudo dnf upgrade --refresh

# Base packages to compile and run basic regression tests
sudo dnf install -y \
make \
cmake \
automake \
gcc \
gcc-c++ \
kernel-devel \
pkg-config \
bison \
flex \
python3-devel \
tbb-devel
# Required for graphics
sudo dnf install -y \
gtk3-devel \
libX11

# Required for parmys front-end from https://github.com/YosysHQ/yosys
sudo dnf install -y \
make \
automake \
gcc \
gcc-c++ \
kernel-devel \
clang \
bison \
flex \
readline-devel \
gawk \
tcl-devel \
libffi-devel \
git \
graphviz \
python-xdot \
pkg-config \
python3-devel \
boost-system \
boost-python3 \
boost-filesystem \
zlib-ng-devel

# Required to build the documentation
sudo dnf install -y \
python3-sphinx \
python-sphinx-doc

# Required to run the analytical placement flow
sudo dnf install -y \
eigen3-devel
Loading