doc/example/flavored-modules/modulefiles/gcc/8
raw| 1 | #%Module |
| 2 | set name gcc |
| 3 | set version 8 |
| 4 | |
| 5 | conflict $name |
| 6 | conflict intel |
| 7 | conflict pgi |
| 8 | |
| 9 | # source common definitions |
| 10 | source [file dirname $ModulesCurrentModulefile]/../.common |
| 11 | |
| 12 | # compute installation path based on selected toolchain and flavors |
| 13 | set prefix [getInstallPrefix] |
| 14 | |
| 15 | |
| 16 | # set software environment |
| 17 | prepend-path PATH $prefix/bin |
| 18 | prepend-path MANPATH $prefix/share/man |
| 19 | prepend-path LD_LIBRARY_PATH $prefix/lib64 |