# -*- 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 # $Id: Portfile 137818 2015-06-20 17:05:13Z mk@macports.org $ PortSystem 1.0 PortGroup cmake 1.0 PortGroup muniversal 1.0 name Vc version 0.7.4 categories math devel license LGPL-3 maintainers gmail.com:rjvbertin openmaintainer description Portable, zero-overhead SIMD library for C++ long_description \ Vc is a free software library to ease explicit vectorization of \ C++ code. It has an intuitive API and provides portability \ between different compilers and compiler versions as well as \ portability between different vector instruction sets. Thus an \ application written with Vc can be compiled for \n\ AVX \n\ SSE2 up to SSE4.2 \n\ SSE4a, XOP, FMA4, and FMA \n\ Scalar (fallback which works everywhere) platforms darwin homepage http://code.compeng.uni-frankfurt.de/projects/vc # Attention: the download directory changes for each release ... master_sites http://code.compeng.uni-frankfurt.de/attachments/download/183/ checksums rmd160 0878034cd1b78ad0429974c81502d2912c6f3e1b \ sha256 a4e5c5d7b51b4b04e6ef87e28a5b8b0108c9788739b044f96fb64f274d249063 post-extract { file mkdir ${workpath}/build } # standard post-arg, where to find the primary CMakeLists.txt file. default configure.post_args {../${worksrcdir}} default configure.dir {${workpath}/build} default build.dir {${workpath}/build} # livecheck isn't that useful as there has been a 0.99.71 release in June 2013 ... livecheck.url ${master_sites} livecheck.regex Vc-(\\d+(\\.\\d+)+)