Ticket #53156: Vc.diff

File Vc.diff, 3.3 KB (added by RJVB (René Bertin), 8 years ago)
  • Vc/Portfile

    old new  
    11# -*- 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$
     2# $Id: Portfile 121955 2014-07-12 05:25:40Z sean@macports.org $
    33
    44PortSystem          1.0
    5 PortGroup           cmake 1.0
     5PortGroup           cmake 1.1
    66PortGroup           muniversal 1.0
     7PortGroup           github 1.0
    78
    8 name                Vc
    9 version             0.7.4
     9# The 1.3.0 release is out of date w.r.t. Intel CPUs, get the latest version
     10github.setup        VcDevel Vc b1959cfb0345a224ce95ec2a38aad9357fecf214
     11version             1.3.0.14
    1012categories          math devel
    11 license             LGPL-3
    12 maintainers         gmail.com:rjvbertin openmaintainer
     13license             LGPL-3+
     14maintainers         gmail.com:rjvbertin
    1315description         Portable, zero-overhead SIMD library for C++
    1416long_description \
    15     Vc is a free software library to ease explicit vectorization of \
    16     C++ code. It has an intuitive API and provides portability \
    17     between different compilers and compiler versions as well as \
    18     portability between different vector instruction sets. Thus an \
    19     application written with Vc can be compiled for \n\
    20     AVX \n\
    21     SSE2 up to SSE4.2 \n\
    22     SSE4a, XOP, FMA4, and FMA \n\
    23     Scalar (fallback which works everywhere)
     17                    Vc is a free software library to ease explicit vectorisation of \
     18                    C++ code. It has an intuitive API and provides portability \
     19                    between different compilers and compiler versions as well as \
     20                    portability between different vector instruction sets. Thus an \
     21                    application written with Vc can be compiled for AVX\; SSE2 up to SSE4.2\; \
     22                    SSE4a\; XOP\; FMA4 and FMA or Scalar (fallback which works everywhere).\n\
     23                    This port should ideally be installed from source (built locally).
    2424platforms           darwin
    2525
    26 homepage            http://code.compeng.uni-frankfurt.de/projects/vc
    27                     # Attention: the download directory changes for each release ...
    28 master_sites        http://code.compeng.uni-frankfurt.de/attachments/download/183/
    29 
    30 checksums           rmd160  0878034cd1b78ad0429974c81502d2912c6f3e1b \
    31                     sha256  a4e5c5d7b51b4b04e6ef87e28a5b8b0108c9788739b044f96fb64f274d249063
    32 
    33 post-extract        { file mkdir ${workpath}/build }
    34 # standard post-arg, where to find the primary CMakeLists.txt file.
    35 default configure.post_args {../${worksrcdir}}
    36 default configure.dir       {${workpath}/build}
    37 default build.dir           {${workpath}/build}
    38 
    39 
    40 # livecheck isn't that useful as there has been a 0.99.71 release in June 2013 ...
    41 livecheck.url       ${master_sites}
    42 livecheck.regex     Vc-(\\d+(\\.\\d+)+)
     26# homepage            http://code.compeng.uni-frankfurt.de/projects/vc
     27
     28checksums           rmd160  0e8ccfc229356bedc33504ccfdb2fa284ae21c3a \
     29                    sha256  ea0f55aa87af943070c69b7472058d8d457792a303a912f36fbdad0d0611b637
     30
     31# this port only installs a static library
     32installs_libs       no
     33
     34# make the build a bit less resource-hungry:
     35cmake.generator     Ninja