SystemC-Components-Test/Modulefile

17 lines
514 B
Plaintext
Raw Permalink Normal View History

2021-06-01 18:08:32 +02:00
#%Module######################################################################
##
## Project Module
##
proc ModulesHelp { } {
puts stderr "\tThe SCC Tests Project Module\n"
puts stderr "\tThis module loads PATHs and variables for SCC tests."
}
2021-06-02 11:13:19 +02:00
set distro [exec /usr/bin/lsb_release -i -s]
2021-06-01 18:08:32 +02:00
if { $distro == "CentOS" && ![info exists ::env(PROJECT)] && ![info exists ::env(PCP_DIR)] } {
puts stderr "Don't forget to execute 'scl enable devtoolset-7 llvm-toolset-7 bash'"
}
module load tools/cmake