From 84020f13c68270b218498486c6ae4251883a7afe Mon Sep 17 00:00:00 2001 From: mole99 Date: Thu, 18 Jan 2024 23:24:22 +0100 Subject: [PATCH] Clarify OpenRAM installation --- docs/source/basic_setup.md | 2 ++ docs/source/debug.md | 6 ++++++ install_conda.sh | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/source/basic_setup.md b/docs/source/basic_setup.md index 032477fac..42e3117f1 100644 --- a/docs/source/basic_setup.md +++ b/docs/source/basic_setup.md @@ -88,6 +88,8 @@ OpenRAM installation, you can set two environment variables: If you have the library installed and `OPENRAM_HOME` set, the library will use the installation on the `OPENRAM_HOME` path. +> See [Python library](./python_library.md#go-back) for details. + If you don't have the library, you should also add `OPENRAM_HOME` to your `PYTHONPATH`. This is not needed if you have the library. diff --git a/docs/source/debug.md b/docs/source/debug.md index 32752704b..2b6dde0d9 100644 --- a/docs/source/debug.md +++ b/docs/source/debug.md @@ -42,7 +42,13 @@ unit test framework: * `23-25_*_test.py` checks lib, lef, and verilog outputs using diff. * `30_openram_test.py` checks command-line interface and whether output files are created. +## Setup +Before running any unit tests, make sure to install OpenRAM. + +> See [Python library](./python_library.md#go-back) for details. + +If you have the library already installed and `OPENRAM_HOME` set, the library will use the installation on the `OPENRAM_HOME` path. ## Running Unit Tests Regression testing performs a number of tests for all modules in OpenRAM. From diff --git a/install_conda.sh b/install_conda.sh index 17f808e4c..314a55e06 100755 --- a/install_conda.sh +++ b/install_conda.sh @@ -1,5 +1,5 @@ #!/bin/bash -CONDA_INSTALLER_URL="https://repo.anaconda.com/miniconda/Miniconda3-py38_22.11.1-1-Linux-x86_64.sh" +CONDA_INSTALLER_URL="https://repo.anaconda.com/miniconda/Miniconda3-py38_23.11.0-2-Linux-x86_64.sh" CONDA_INSTALLER_FILE="miniconda_installer_py38.sh" CONDA_HOME="${CONDA_HOME:-miniconda}"