mirror of
https://github.com/EEVengers/ThunderScope.git
synced 2025-04-22 17:43:44 +00:00
Added script to install LiteX
This commit is contained in:
parent
658a2d2990
commit
fb012a3355
2
.gitignore
vendored
2
.gitignore
vendored
@ -32,3 +32,5 @@ Software/TS.NET
|
||||
Gateware/openFPGALoader
|
||||
|
||||
Gateware/prebuilt_bitstreams/
|
||||
|
||||
Gateware/LiteX/
|
||||
|
11
Gateware/install_LiteX.sh
Executable file
11
Gateware/install_LiteX.sh
Executable file
@ -0,0 +1,11 @@
|
||||
mkdir LiteX
|
||||
cd LiteX
|
||||
sudo apt-get install -y python3-pip
|
||||
wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
|
||||
#break the auto update check
|
||||
sed -i -e 's/if current_sha1 != upstream_sha1:/if current_sha1 == upstream_sha1:/g' litex_setup.py
|
||||
#so that we can break system packages and install on distros adopting PEP668
|
||||
#see https://github.com/enjoy-digital/litex/issues/1716
|
||||
sed -i -e 's/ pip install --editable / pip install --break-system-packages --editable /g' litex_setup.py
|
||||
chmod +x litex_setup.py
|
||||
./litex_setup.py --init --install
|
Loading…
Reference in New Issue
Block a user