File: common

package info (click to toggle)
modules 4.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 19,932 kB
  • sloc: exp: 35,889; ansic: 10,653; sh: 3,920; makefile: 1,316; tcl: 612; csh: 178; python: 169; perl: 118; ruby: 44
file content (37 lines) | stat: -rw-r--r-- 845 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Example modulefiles for compiler-etc-dependency cookbook
#
# Common stuff for intel
#
# Expects version to have been previously set

proc ModulesHelp { } {
   global version

   puts stderr "
This is the dummy Intel compiler suite modulefile for the cookbook
	Handling Compiler and other Package Dependencies

It does not actually do anything

Version: $version

"
}

module-whatis "Dummy Intel $version for cookbook"

# Find the software root.  In production, you should
# hardcode to your real software root
set gitroot $::env(MOD_GIT_ROOTDIR)
set swroot $gitroot/doc/example/compiler-etc-dependencies/dummy-sw-root
set pkgroot $swroot/intel
set vroot $pkgroot/$version
set bindir $vroot/bin

prepend-path PATH $bindir

# don't load multiple versions of this module (or other compilers)
conflict gcc
conflict gnu
conflict pgi
conflict intel