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 121955 2014-07-12 05:25:40Z sean@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup cmake 1.0 |
---|
6 | PortGroup muniversal 1.0 |
---|
7 | |
---|
8 | name Vc |
---|
9 | version 0.7.4 |
---|
10 | revision 1 |
---|
11 | categories math devel |
---|
12 | license LGPL-3 |
---|
13 | maintainers gmail.com:rjvbertin |
---|
14 | description Portable, zero-overhead SIMD library for C++ |
---|
15 | long_description \ |
---|
16 | Vc is a free software library to ease explicit vectorization of \ |
---|
17 | C++ code. It has an intuitive API and provides portability \ |
---|
18 | between different compilers and compiler versions as well as \ |
---|
19 | portability between different vector instruction sets. Thus an \ |
---|
20 | application written with Vc can be compiled for \n\ |
---|
21 | AVX \n\ |
---|
22 | SSE2 up to SSE4.2 \n\ |
---|
23 | SSE4a, XOP, FMA4, and FMA \n\ |
---|
24 | Scalar (fallback which works everywhere) |
---|
25 | platforms darwin |
---|
26 | |
---|
27 | homepage http://code.compeng.uni-frankfurt.de/projects/vc |
---|
28 | # Attention: the download directory changes for each release ... |
---|
29 | master_sites http://code.compeng.uni-frankfurt.de/attachments/download/183/ |
---|
30 | |
---|
31 | checksums rmd160 0878034cd1b78ad0429974c81502d2912c6f3e1b \ |
---|
32 | sha256 a4e5c5d7b51b4b04e6ef87e28a5b8b0108c9788739b044f96fb64f274d249063 |
---|
33 | |
---|
34 | post-extract { file mkdir ${workpath}/build } |
---|
35 | # standard post-arg, where to find the primary CMakeLists.txt file. |
---|
36 | default configure.post_args {../${worksrcdir}} |
---|
37 | default configure.dir {${workpath}/build} |
---|
38 | default build.dir {${workpath}/build} |
---|
39 | |
---|
40 | |
---|
41 | # livecheck isn't that useful as there has been a 0.99.71 release in June 2013 ... |
---|
42 | livecheck.url ${master_sites} |
---|
43 | livecheck.regex Vc-(\\d+(\\.\\d+)+) |
---|