File: librsb.module.m4

package info (click to toggle)
librsb 1.3.0.2%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 32,792 kB
  • sloc: ansic: 274,405; f90: 108,468; cpp: 16,934; sh: 6,761; makefile: 1,679; objc: 692; awk: 22; sed: 1
file content (49 lines) | stat: -rw-r--r-- 1,464 bytes parent folder | download | duplicates (3)
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
38
39
40
41
42
43
44
45
46
47
48
49
dnl m4 -D M4_RSB_MOD_HDR=... -D M4_RSB_MOD_ROOTDIR=$(prefix) -D M4_RSB_MOD_EXTRA_DOC=... -D M4_RSB_MOD_EXTRA_CMD=...
changecom(`')dnl
#%Module 
M4_RSB_MOD_HDR

module-whatis "Libraries:optimized kernels (Sparse BLAS):Recursive Sparse Blocks library"
set WWWDoc "http://librsb.sourceforge.net/"

set ROOTDIR			"M4_RSB_MOD_ROOTDIR"
setenv LIBRSB_CONFIG		"$ROOTDIR/bin/librsb-config"
prepend-path PATH        	"$ROOTDIR/bin"
prepend-path MANPATH        	"$ROOTDIR/share/man"
prepend-path LD_LIBRARY_PATH 	"$ROOTDIR/lib/"
M4_RSB_MOD_EXTRA_CMD
proc ModulesHelp {} {
  set LIBRSB_CONFIG		{${LIBRSB_CONFIG}}
  global WWWDoc ROOTDIR
  set manfiles [exec ls -C "$ROOTDIR/share/man/man3"]
  set manpages [subst [regsub -all {.3} $manfiles ""]]

  puts stderr "
Recursive Sparse Blocks library, a Sparse BLAS library.

To test the examples:
	cp -fR $ROOTDIR/share/doc/librsb/examples/ ~/rsb-examples && cd ~/rsb-examples && ./make.sh

Local HTML documentation installed in:
	$ROOTDIR/share/doc/librsb/html/index.html

Local Man pages:
        $manpages

For compilation and linkage flags, use the LIBRSB_CONFIG environment variable:
	CFLAGS+=\\ \$( ${LIBRSB_CONFIG} --I_opts)
	CXXFLAGS+=\\ \$( ${LIBRSB_CONFIG} --I_opts)
	FCFLAGS+=\\ \$( ${LIBRSB_CONFIG} --I_opts)
       	LDFLAGS+=\\ \$( ${LIBRSB_CONFIG} --ldflags --extra_libs)

...and LIBRSB_CONFIG is set to:
       	M4_RSB_MOD_ROOTDIR/bin/librsb-config

Official web site:
	$WWWDoc

M4_RSB_MOD_EXTRA_DOC
"
  return 0
}