Pin riscof, riscv-config, and riscv-isac versions

This commit is contained in:
Jordan Carlin 2025-05-31 14:15:19 -07:00
parent 6827aa87f0
commit 8acf3ca8de
No known key found for this signature in database
2 changed files with 9 additions and 4 deletions

View file

@ -27,6 +27,11 @@
## and limitations under the License.
################################################################################################
# NOTE: These three tools need to be kept in sync. Update all versions simultaneously.
export RISCOF_VERSION=be84132874963e001c14d846a140a3edd9c9d48f # Last commit as May 31, 2025
export RISCV_CONFIG_VERSION=54171f205be802f9f8e0b1cf4156a6cc826fb467 # Last commit as of May 31, 2025
export RISCV_ISAC_VERSION=450de2eabfe4fcdfdf54135b5ab2dbb1d94805f8 # Last commit as of May 31, 2025 (commit hash of riscv-arch-test repo)
set -e # break on error
# If run standalone, check environment. Otherwise, use info from main install script
if [ -z "$FAMILY" ]; then
@ -53,6 +58,6 @@ source "$RISCV"/riscv-python/bin/activate # activate python virtual environment
# 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 --upgrade pip && pip install --upgrade -r "$dir"/requirements.txt
pip install --upgrade pip && pip install --upgrade -r "$WALLY"/bin/requirements.txt
echo -e "${SUCCESS_COLOR}Python environment successfully configured!${ENDC}"

View file

@ -4,9 +4,9 @@ Markdown>=3.6
matplotlib>=3.9.0
pre-commit>=4.0.0
PyYAML>=5.2
riscof @ git+https://github.com/riscv/riscof.git
riscv-config @ git+https://github.com/riscv-software-src/riscv-config
riscv-isac @ git+https://github.com/riscv-non-isa/riscv-arch-test/#subdirectory=riscv-isac
riscof @ git+https://github.com/riscv/riscof.git@${RISCOF_VERSION} # version set in python-setup.sh
riscv-config @ git+https://github.com/riscv-software-src/riscv-config.git@${RISCV_CONFIG_VERSION} # version set in python-setup.sh
riscv-isac @ git+https://github.com/riscv-non-isa/riscv-arch-test.git@${RISCV_ISAC_VERSION}#subdirectory=riscv-isac # version set in python-setup.sh
scikit-learn>=1.5.0
scipy>=1.13.0
setuptools