source: trunk/dports/math/viennacl/Portfile @ 120117

Last change on this file since 120117 was 120117, checked in by stromnov@…, 6 years ago

viennacl: update to version 1.5.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 120117 2014-05-16 06:48:27Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                viennacl
8version             1.5.2
9set branch          [join [lrange [split ${version} .] 0 1] .]
10revision            0
11categories          math devel
12platforms           darwin
13license             MIT
14
15maintainers         stromnov openmaintainer
16
17description         ViennaCL is a free open-source linear algebra library
18
19long_description    ViennaCL is a free open-source linear algebra library \
20                    for computations on many-core architectures (GPUs, MIC) \
21                    and multi-core CPUs. The library is written in C++ \
22                    and supports CUDA, OpenCL, and OpenMP. In addition \
23                    to core functionality and many other features including \
24                    BLAS level 1-3 support and iterative solvers.
25
26homepage            http://viennacl.sourceforge.net
27master_sites        sourceforge:project/viennacl/${branch}.x
28
29checksums           rmd160  fdbc5b9bfb6e387fa94b2d33862f9a7458ef8cf1 \
30                    sha256  e443c7b589d083ccb64064feaac37fa663ef1a12aad10b305e047ec16c4002ba
31
32distname            ViennaCL-${version}
33
34worksrcdir          ${workpath}/build
35patch.dir           ${workpath}/${distname}
36
37post-extract {
38    file mkdir ${worksrcpath}
39}
40
41patchfiles-append   patch-CMakeLists.txt.diff
42
43post-patch {
44    reinplace "s|@@PREFIX@@|${prefix}|" "${workpath}/${distname}/CMakeLists.txt"
45}
46
47depends_lib-append  port:boost
48
49configure.args-append \
50                    ../${distname} \
51                    -DBUILD_EXAMPLES=OFF \
52                    -DBUILD_TESTING=OFF
53
54livecheck.type      sourceforge
55livecheck.name      viennacl
56livecheck.regex     {/ViennaCL-(\d+(?:\.\d+)*)\.[tz]}
Note: See TracBrowser for help on using the repository browser.