Fix correct commit hash for release 0.7.0 of openXC7
[dev-env-setup.git] / hdl-dev-repos
index cbc6f219ed44453a85cbc765e1977d4966e6bd38..032182f9c630fc6ba83ea4fa615b31cf5143eba9 100755 (executable)
@@ -8,15 +8,34 @@ runuser $SUDO_USER --preserve-environment -c '
 cd /home/$SUDO_USER
 mkdir -p src
 cd src
-git clone https://git.libre-soc.org/git/nmigen-boards.git
-git clone https://git.libre-soc.org/git/nmigen.git
+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
 git clone https://git.libre-soc.org/git/nmutil.git
 git clone https://git.libre-soc.org/git/openpower-isa.git
 git clone https://git.libre-soc.org/git/ieee754fpu.git
-git clone https://git.libre-soc.org/git/nmigen-soc.git
+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
+git clone https://git.libre-soc.org/git/pytest-output-to-files.git
+git clone https://git.libre-soc.org/git/mdis.git
+git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --depth=1 --branch v6.5.8
 '
+
+# pytest
+python3 -m pip install pytest-xdist==3.3.1 pytest==7.3.1 \
+    pytest-subtests==0.11.0
+
+# pytest-output-to-files
+cd /home/$SUDO_USER/src/pytest-output-to-files
+python3 setup.py develop
+
+# pyvcd - needed for nmigen
+cd /home/$SUDO_USER/src/pyvcd
+git checkout 0.2.4
+python3 setup.py develop --no-deps
+
 # nmigen
 cd /home/$SUDO_USER/src/nmigen
 git tag | xargs git tag -d # very annoying
@@ -25,13 +44,24 @@ python3 setup.py develop
 # nmigen-boards
 cd /home/$SUDO_USER/src/nmigen-boards
 git tag | xargs git tag -d # very annoying
-python3 setup.py develop
+python3 setup.py develop --no-deps
 
 # nmigen-soc
 cd ../nmigen-soc
 git tag | xargs git tag -d # very annoying
 python3 setup.py develop
 
+# nmigen-stdio
+cd ../nmigen-stdio
+git tag | xargs git tag -d # very annoying
+python3 setup.py develop
+
+# XXX GRRR run this again: TODO, resolve dependencies
+# nmigen
+cd /home/$SUDO_USER/src/nmigen
+git tag | xargs git tag -d # very annoying
+python3 setup.py develop
+
 # c4m-jtag
 cd ../c4m-jtag
 git tag | xargs git tag -d # very annoying
@@ -41,12 +71,17 @@ python3 setup.py develop
 cd ../nmutil
 python3 setup.py develop
 
+# mdis
+cd ../mdis
+python3 setup.py develop
+
 # openpower-isa
 cd ../openpower-isa
 python3 setup.py develop
 make svanalysis
 make pywriter
 make pyfnwriter
+python3 -m openpower.syscalls json ../linux > src/openpower/syscalls/syscalls.json
 
 # ieee754fpy
 cd ../ieee754fpu
@@ -57,6 +92,10 @@ python3 setup.py develop
 cd ../soc
 make gitupdate
 python3 setup.py develop
+# sigh sort out pinmux
+cd pinmux
+git checkout d96f737c0a53dde983
+cd ..
 make mkpinmux
 
 cd ../
@@ -65,4 +104,3 @@ chgrp -R $SUDO_USER .
 echo -e "
 \e[1;91mAll Libre-SOC dev dependenices should now be installed.\e[0m
 "
-