Changeset 97915


Ignore:
Timestamp:
Sep 19, 2012, 10:45:02 PM (12 years ago)
Author:
adfernandes@…
Message:

eigen3/R/R-framework: add gcc47 variants

Location:
trunk/dports/math
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/R-framework/Portfile

    r97763 r97915  
    8585}
    8686
    87 variant debug description {Build with debug symbols} { 
    88     configure.optflags-append -g 
    89 }
    90 
    91 variant gcc45 conflicts gcc46 llvm_gcc42 description {build with gcc45} {
     87variant debug description {Build with debug symbols} {
     88    configure.optflags-append -g
     89}
     90
     91variant gcc45 conflicts gcc46 gcc47 llvm_gcc42 description {build with gcc45} {
    9292    depends_lib-append      port:gcc45
    9393    configure.compiler      macports-gcc-4.5
     
    9696}
    9797
    98 variant gcc46 conflicts gcc45 llvm_gcc42 description {build with gcc46} {
     98variant gcc46 conflicts gcc45 gcc47 llvm_gcc42 description {build with gcc46} {
    9999    depends_lib-append      port:gcc46
    100100    configure.compiler      macports-gcc-4.6
     
    103103}
    104104
    105 variant llvm_gcc42 conflicts gcc45 gcc46 description {build with llvm-gcc42} {
     105variant gcc47 conflicts gcc45 gcc46 llvm_gcc42 description {build with gcc47} {
     106    depends_lib-append      port:gcc47
     107    configure.compiler      macports-gcc-4.7
     108    configure.objc          /usr/bin/gcc
     109    configure.env-append    "OBJCXX=${configure.objc}"
     110}
     111
     112variant llvm_gcc42 conflicts gcc45 gcc46 gcc47 description {build with llvm-gcc42} {
    106113    depends_lib-append          port:llvm-gcc42
    107114    configure.compiler          macports-llvm-gcc-4.2
  • trunk/dports/math/R/Portfile

    r97763 r97915  
    5555}
    5656
    57 variant gcc43 conflicts gcc44 gcc45 gcc46 description {Build with gcc43} {
     57variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Build with gcc43} {
    5858    configure.compiler macports-gcc-4.3
    5959    depends_lib-append port:gcc43
    6060}
    6161
    62 variant gcc44 conflicts gcc43 gcc45 gcc46 description {Build with gcc44} {
     62variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Build with gcc44} {
    6363    configure.compiler macports-gcc-4.4
    6464    depends_lib-append port:gcc44
    6565}
    6666
    67 variant gcc45 conflicts gcc43 gcc44 gcc46 description {Build with gcc45} {
     67variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Build with gcc45} {
    6868    configure.compiler macports-gcc-4.5
    6969    depends_lib-append port:gcc45
    7070}
    7171
    72 variant gcc46 conflicts gcc43 gcc44 gcc45 description {Build with gcc46} {
     72variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Build with gcc46} {
    7373    configure.compiler macports-gcc-4.6
    7474    depends_lib-append port:gcc46
     75}
     76
     77variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {Build with gcc46} {
     78    configure.compiler macports-gcc-4.7
     79    depends_lib-append port:gcc47
    7580}
    7681
  • trunk/dports/math/eigen3/Portfile

    r97763 r97915  
    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
     
    3939# Variants
    4040variant gcc44 description {Use MacPorts' gcc44 compilers} \
    41   conflicts gcc45 gcc46 {
     41  conflicts gcc45 gcc46 gcc47 {
    4242  depends_build-append  port:gcc44
    4343  configure.compiler  macports-gcc-4.4
     
    4545
    4646variant gcc45 description {Use MacPorts' gcc45 compilers} \
    47   conflicts gcc44 gcc46 {
     47  conflicts gcc44 gcc46 gcc47 {
    4848  depends_build-append  port:gcc45
    4949  configure.compiler  macports-gcc-4.5
     
    5151
    5252variant gcc46 description {Use MacPorts' gcc46 compilers} \
    53   conflicts gcc44 gcc45 {
     53  conflicts gcc44 gcc45 gcc47 {
    5454  depends_build-append  port:gcc46
    5555  configure.compiler  macports-gcc-4.6
     56}
     57
     58variant gcc47 description {Use MacPorts' gcc47 compilers} \
     59  conflicts gcc44 gcc45 gcc46 {
     60  depends_build-append  port:gcc47
     61  configure.compiler  macports-gcc-4.7
    5662}
    5763
     
    6672  {Build eigen-based blas (libeigen_blas*) : needs +gcc4*} \
    6773  requires cmake {
    68   if {![variant_isset gcc44] && 
    69       ![variant_isset gcc45] && 
     74  if {![variant_isset gcc44] &&
     75      ![variant_isset gcc45] &&
    7076      ![variant_isset gcc46]} {
    7177    ui_error "eigen3: To use +blas please select +gcc44, +gcc45, or +gcc46!!!"
     
    97103                      -DCMAKE_MODULE_PATH=${cmake_share_module_dir} \
    98104                      -Wno-dev
    99  
     105
    100106  # Out of source build
    101107  configure.args-append ../eigen_src
     
    161167    xinstall -d ${docdir}
    162168    xinstall -m 644 -W ${workpath}/eigen_src COPYING.GPL COPYING.LGPL ${docdir}
    163    
     169
    164170    # Install documentation if requested
    165171    if {[variant_isset doc]} {
Note: See TracChangeset for help on using the changeset viewer.