Changeset 127975


Ignore:
Timestamp:
Nov 9, 2014, 9:19:21 PM (5 years ago)
Author:
stromnov@…
Message:

viennacl: update to version 1.6.0

Location:
trunk/dports/math/viennacl
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/viennacl/Portfile

    r120117 r127975  
    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
     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
    22# $Id$
    33
     
    66
    77name                viennacl
    8 version             1.5.2
     8version             1.6.0
    99set branch          [join [lrange [split ${version} .] 0 1] .]
    1010revision            0
     
    2727master_sites        sourceforge:project/viennacl/${branch}.x
    2828
    29 checksums           rmd160  fdbc5b9bfb6e387fa94b2d33862f9a7458ef8cf1 \
    30                     sha256  e443c7b589d083ccb64064feaac37fa663ef1a12aad10b305e047ec16c4002ba
     29checksums           rmd160  e27f58d80f54b9ecc144d8782e047e12da3075d8 \
     30                    sha256  983071127ee36ae9bf2dae385bec0c9bd8cfe34ce37e64ab77c95391e8d038ab
    3131
    3232distname            ViennaCL-${version}
     
    3939}
    4040
    41 patchfiles-append   patch-CMakeLists.txt.diff
     41patchfiles-append   patch-CMakeLists.txt.diff \
     42                    patch-cmake_ViennaCLCommon.cmake.diff \
     43                    patch-libviennacl_CMakeLists.txt.diff
    4244
    4345post-patch {
    44     reinplace "s|@@PREFIX@@|${prefix}|" "${workpath}/${distname}/CMakeLists.txt"
     46    reinplace "s|@prefix@|${prefix}|" "${patch.dir}/CMakeLists.txt"
     47    reinplace "s|@prefix@|${prefix}|" "${patch.dir}/cmake/ViennaCLCommon.cmake"
    4548}
    4649
  • trunk/dports/math/viennacl/files/patch-CMakeLists.txt.diff

    r115140 r127975  
    1 --- CMakeLists.txt.orig 2013-12-26 13:58:47.000000000 +0400
    2 +++ CMakeLists.txt      2013-12-26 13:59:29.000000000 +0400
    3 @@ -36,7 +36,7 @@
    4  # For out-of-the-box support on MacOS:
    5  IF (ENABLE_OPENCL)
    6    IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
    7 -    INCLUDE_DIRECTORIES("/opt/local/include")
    8 +    INCLUDE_DIRECTORIES("@@PREFIX@@/include")
    9      set(CMAKE_EXE_LINKER_FLAGS "-framework OpenCL")
    10    ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
    11  ENDIF(ENABLE_OPENCL)
     1--- CMakeLists.txt.orig 2014-11-09 20:47:39.000000000 +0300
     2+++ CMakeLists.txt      2014-11-09 20:48:54.000000000 +0300
     3@@ -15,7 +15,7 @@
     4 
     5 # Set boost path here if not found automatically by CMake
     6 #SET(BOOST_ROOT "C:/Program\ Files\ (x86)/boost/boost_1_42")     # adjust this on Windows
     7-#SET(BOOST_ROOT "/opt/local/include")                            # adjust this on MacOS or Linux
     8+SET(BOOST_ROOT "@prefix@/include")                            # adjust this on MacOS or Linux
     9 
     10 
     11 # Common options - There is usually no need to change anything below this line
Note: See TracChangeset for help on using the changeset viewer.