Files
RISCV-VP/.envrc
2024-06-30 17:47:05 +02:00

12 lines
320 B
Bash

distro=`/bin/lsb_release -i -s`
if [ $distro == "CentOS" ]; then
. /opt/rh/devtoolset-8/enable
. /opt/rh/llvm-toolset-7/enable
. /opt/rh/rh-python38/enable
elif [ $distro == "Rocky" ]; then
. /opt/rh/gcc-toolset-11/enable
fi
module load ./Modulefile
layout python3
[ -f .envrc.$USER ] && . .envrc.$USER