Skip to content

tools: update iis environment - #140

Open
Navaneeth-KunhiPurayil wants to merge 1 commit into
mainfrom
fix/tools
Open

tools: update iis environment#140
Navaneeth-KunhiPurayil wants to merge 1 commit into
mainfrom
fix/tools

Conversation

@Navaneeth-KunhiPurayil

@Navaneeth-KunhiPurayil Navaneeth-KunhiPurayil commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Update iis environment

  • Changed LLVM_INSTALL_DIR to point to a new installation path.
  • Added new environment variables for VERILATOR_INSTALL_DIR, VERILATOR_ROOT, and LD_PRELOAD to support Verilator v5.034
  • Set CC and CXX to the GCC 11.2.0 compilers.

@Navaneeth-KunhiPurayil

Copy link
Copy Markdown
Contributor Author

Let me know if you can try on your end to see if it works as before,

make init
source util/iis-env.sh
make sw.vlt

@Camma2001 Camma2001 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Verilator compilation is successful.

Bender needs to be built separately.
The Python version and its requirements remain a separate issue.

Comment thread util/iis-env.sh Outdated
echo "export Spatz toolchains"
export LLVM_INSTALL_DIR=/usr/pack/riscv-1.0-kgf/spatz-llvm-2023.08.10
export GCC_INSTALL_DIR=/usr/pack/riscv-1.0-kgf/spatz-gcc-7.1.1 No newline at end of file
export LLVM_INSTALL_DIR=/usr/scratch/blitzstein/nkunhi/Spatz/tools/riscv-llvm

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to use pisoc machines

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

has been fixed

Comment thread util/iis-env.sh

export CC=gcc-11.2.0
export CXX=g++-11.2.0

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about bender?
What about python version?

These are the two sources of failure during make sw.vlt -B

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bender, we just specify the version within make and this will be installed
For python, @DiyouS has a cleaner virtual environment which can be used and I can look into it

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The python env should also be there now, you can give a try

@Camma2001 Camma2001 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider to change the README.md (it should be updated with make sw.vlt -B).
If we do not put -B the first time, it fails.

We are using bender 0.29.1 and we are not tracking the bender version development.
The latest bender release is 0.32.1

These fixes in my opinion, can be done in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants