source: trunk/dports/math/viennacl/Portfile

Last change on this file was 144926, checked in by stromnov@…, 18 months ago

viennacl: update to version 1.7.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 144926 2016-01-21 14:35:56Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                viennacl
8version             1.7.1
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
29distname            ViennaCL-${version}
30
31checksums           rmd160  74d4a46427367321ff110286cb76f61886867f7d \
32                    sha256  a596b77972ad3d2bab9d4e63200b171cd0e709fb3f0ceabcaf3668c87d3a238b
33
34cmake.out_of_source yes
35
36patchfiles-append   patch-CMakeLists.txt.diff \
37                    patch-cmake_ViennaCLCommon.cmake.diff \
38                    patch-libviennacl_CMakeLists.txt.diff
39
40post-patch {
41    reinplace "s|@prefix@|${prefix}|" "${patch.dir}/CMakeLists.txt"
42    reinplace "s|@prefix@|${prefix}|" "${patch.dir}/cmake/ViennaCLCommon.cmake"
43}
44
45depends_lib-append  port:boost
46
47configure.args-append \
48                    ../${distname} \
49                    -DBUILD_EXAMPLES=OFF \
50                    -DBUILD_TESTING=OFF
51
52livecheck.type      sourceforge
53livecheck.name      viennacl
54livecheck.regex     {/ViennaCL-(\d+(?:\.\d+)*)\.[tz]}
Note: See TracBrowser for help on using the repository browser.