TGC-ISS/Modulefile

22 lines
612 B
Puppet

#%Module######################################################################
##
## Project Module
##
proc ModulesHelp { } {
puts stderr "\tThe TGFS-ISS Project Module\n"
puts stderr "\tThis module loads PATHs and variables for accessing Verilator."
}
set distro [exec /bin/lsb_release -i -s]
if { $distro == "CentOS" && ![info exists ::env(PROJECT)] && ![info exists ::env(PCP_DIR)] } {
puts stderr "Don't forget to execute 'scl enable devtoolset-7 bash'"
}
module load tools/cmake
#module load tools/gcc-riscv64/9.2.0
module load tools/gcc-riscv32-unknown-elf/11
setenv PROJECT TGFS-ISS