initial commit
This commit is contained in:
15
.envrc
Normal file
15
.envrc
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
elif [ $distro == "RockyLinux" ]; then
|
||||
. /opt/rh/gcc-toolset-14/enable
|
||||
fi
|
||||
if has module; then
|
||||
module load tools/gcc-riscv64-unknown-elf/15 tools/cmake/3.28 tools/utilities tools/vscode
|
||||
fi
|
||||
layout python3
|
||||
[ -f .envrc.$USER ] && . .envrc.$USER
|
||||
Reference in New Issue
Block a user