-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathiis-setup.sh
More file actions
executable file
·31 lines (26 loc) · 1.06 KB
/
iis-setup.sh
File metadata and controls
executable file
·31 lines (26 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env bash
# Copyright 2024 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Define environment variables
export CC=gcc-9.2.0
export CXX=g++-9.2.0
export SN_OSEDA="oseda -2025.07"
export SN_BENDER=bender-0.31.0
export SN_VCS_SEPP=vcs-2024.09
export SN_VERILATOR_SEPP=$SN_OSEDA
export SN_QUESTA_SEPP=questa-2023.4
export SN_YOSYS="$SN_OSEDA yosys"
export SN_LLVM_BINROOT=/usr/scratch2/vulcano/colluca/tools/riscv32-snitch-llvm-almalinux8-15.0.0-snitch-0.5.0/bin
# We need Make >4.3 for grouped targets
export PATH=$PWD/util/bin:$PATH
# Add simulator binaries to PATH
export PATH=$PWD/target/sim/build/bin:$PATH
# We use `uv` for managing python dependencies and environments
export PATH=$PATH:/usr/local/uv
# Copy instead link packages from global cache, since the cache is typically
# located on a different file system (e.g. your home directory).
export UV_LINK_MODE=copy
# Bootstrap the Python environment
uv sync --all-extras --locked
source .venv/bin/activate