From b63c7c26cc938ebd10eaeeaebc431b0a2e41d4c5 Mon Sep 17 00:00:00 2001 From: Andrey Miroshnikov Date: Fri, 19 May 2023 17:21:54 +0100 Subject: [PATCH] hdl-dev-repos: Added pyvcd dependency (for normal and virtualenv scripts) install-hdl-apt-reqs: Added python3-toml dependency --- hdl-dev-repos | 6 ++++++ hdl-dev-repos-virtualenv | 6 ++++++ install-hdl-apt-reqs | 1 + 3 files changed, 13 insertions(+) diff --git a/hdl-dev-repos b/hdl-dev-repos index ca691db..ca27341 100755 --- a/hdl-dev-repos +++ b/hdl-dev-repos @@ -8,6 +8,7 @@ runuser $SUDO_USER --preserve-environment -c ' cd /home/$SUDO_USER mkdir -p src cd src +git clone https://github.com/westerndigitalcorporation/pyvcd.git git clone https://gitlab.com/nmigen/nmigen-boards.git git clone https://gitlab.com/nmigen/nmigen.git git clone https://git.libre-soc.org/git/c4m-jtag.git @@ -18,6 +19,11 @@ git clone https://gitlab.com/nmigen/nmigen-soc.git git clone https://gitlab.com/nmigen/nmigen-stdio.git git clone https://git.libre-soc.org/git/soc.git ' +# pyvcd - needed for nmigen +cd pyvcd +git checkout 0.4.0 # latest version tested +python3 setup.py develop --no-deps + # nmigen cd /home/$SUDO_USER/src/nmigen git tag | xargs git tag -d # very annoying diff --git a/hdl-dev-repos-virtualenv b/hdl-dev-repos-virtualenv index 321321c..6099712 100755 --- a/hdl-dev-repos-virtualenv +++ b/hdl-dev-repos-virtualenv @@ -3,6 +3,7 @@ python3 -m venv .env . .env/bin/activate pip3 install nose +git clone https://github.com/westerndigitalcorporation/pyvcd.git git clone https://gitlab.com/nmigen/nmigen-boards.git git clone https://gitlab.com/nmigen/nmigen.git git clone https://git.libre-soc.org/git/c4m-jtag.git @@ -12,6 +13,11 @@ git clone https://git.libre-soc.org/git/ieee754fpu.git git clone https://gitlab.com/nmigen/nmigen-soc.git git clone https://git.libre-soc.org/git/soc.git +# pyvcd - needed for nmigen +cd pyvcd +git checkout 0.4.0 # latest version tested +python3 setup.py develop --no-deps + # nmigen cd /home/$SUDO_USER/src/nmigen git tag | xargs git tag -d # very annoying diff --git a/install-hdl-apt-reqs b/install-hdl-apt-reqs index ab5c568..52ab632 100755 --- a/install-hdl-apt-reqs +++ b/install-hdl-apt-reqs @@ -51,6 +51,7 @@ apt-get install -y autoconf \ python3-sphinx-rtd-theme \ python3-recommonmark \ python3-pandocfilters \ + python3-toml \ pandoc \ texstudio \ texlive \ -- 2.30.2