Ticket #4727: Portfile.3

File Portfile.3, 2.3 KB (added by sal@…, 18 years ago)

Revised portfile with fix to matlab variant

Line 
1# $Id: Portfile,v 1.8 2004/11/29 14:17:29 michaelm Exp $
2
3PortSystem 1.0
4
5name                    mtl
6version                 2.1.2-21
7categories              math
8description             Matrix Template Library
9maintainers             sal@email.arc.nasa.gov
10long_description        A high-performance generic component library that
11    provides comprehensive linear algebra functionality for a wide \
12    variety of matrix formats. As with the Standard Template Library \
13    (STL), MTL uses a five-fold approach, consisting of generic \
14    functions, containers, iterators, adaptors, and function objects, \
15    all developed specifically for high performance numerical linear \
16    algebra. Within this framework, MTL provides generic algorithms \
17    corresponding to the mathematical operations that define linear \
18    algebra. Similarly, the containers, adaptors, and iterators are \
19    used to represent and to manipulate concrete linear algebra \
20    objects such as matrices and vectors. To many scientific computing \
21    users, however, the advantages of an elegant programming interface \
22    are secondary to issues of performance. Generic programming is a \
23    powerful tool in this regard as well - performance tuning can \
24    itself be described in a generic fashion. These performance tuning \
25    abstractions are realized in a generic low-level library - the \
26    Basic Linear Algebra Instruction Set (BLAIS). Experimental results \
27    show that MTL with the BLAIS achieves performance that is as good \
28    as, or better than, vendor-tuned libraries. Thus, MTL demonstrates \
29    that the proper abstractions can be used to achieve high levels of \
30    performance, contrary to conventional wisdom. In addition, MTL \
31    requires orders of magnitude fewer lines of code for its \
32    implementation, with the concomitant savings in development and \
33    maintenance effort. 
34homepage                http://www.osl.iu.edu/research/mtl
35master_sites            http://www.osl.iu.edu/download/research/mtl
36distfiles               ${name}-${version}.tar.gz
37checksums               sha1 4be1d02ae39a20a4e28931f619e4f77bdebfa784
38configure.args          -host powerpc-apple-netbsd
39configure.pre_args      --prefix=${destroot}${prefix}
40
41variant blais {
42        configure.args-append  --with-blais
43}
44
45variant lapack {
46        configure.args-append  --with-lapack=libs
47}
48
49variant matlab {
50        configure.args-append  --with-matlab=${prefix}/include
51}