Skip to content

Commit

Permalink
Use requirements file for pip packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jordancarlin committed Jul 23, 2024
1 parent 459302a commit 7bbe1c9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 79 deletions.
13 changes: 13 additions & 0 deletions bin/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
adjustText>=1.2
lief>=0.14.1
Markdown>=3.6
matplotlib>=3.9.0
PyYAML>=5.2
riscof @ git+https://github.com/riscv/riscof.git
riscv-config>=3.18.3
riscv-isac>=0.18.0
scikit-learn>=1.5.0
scipy>=1.14.0
Sphinx>=7.3.7
sphinx-rtd-theme>=2.0.0
testresources>=2.0.1
14 changes: 3 additions & 11 deletions bin/wally-tool-chain-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,10 @@ fi

source "$RISCV"/riscv-python/bin/activate # activate python virtual environment

# Install python packages
# Install python packages, including RISCOF (https://github.com/riscv-software-src/riscof.git)
# RISCOF is a RISC-V compliance test framework that is used to run the RISC-V Arch Tests.
STATUS="python packages"
pip install -U pip
pip install -U sphinx sphinx_rtd_theme matplotlib scipy scikit-learn adjustText lief markdown pyyaml testresources riscv_config
pip install -U riscv_isac # to generate new tests, such as quads with fp_dataset.py
pip install --upgrade pip && pip install -r "$dir"/requirements.txt

# z3 is needed for sail and not availabe from dnf for rhel 8
if (( RHEL_VERSION == 8 )); then
Expand Down Expand Up @@ -382,13 +381,6 @@ else
fi


# RISCOF (https://github.com/riscv-software-src/riscof.git)
# RISCOF is a RISC-V compliance test framework that is used to run the RISC-V Arch Tests.
section_header "Installing/Updating RISCOF"
STATUS="RISCOF"
pip3 install git+https://github.com/riscv-software-src/riscof.git


# OSU Skywater 130 cell library (https://foss-eda-tools.googlesource.com/skywater-pdk/libs/sky130_osu_sc_t12)
# The OSU Skywater 130 cell library is a standard cell library that is used to synthesize Wally.
section_header "Installing/Updating OSU Skywater 130 cell library"
Expand Down
68 changes: 0 additions & 68 deletions requirements.txt

This file was deleted.

0 comments on commit 7bbe1c9

Please sign in to comment.