[98891] trunk/dports/lang/berkeley_upc/Portfile

takeshi at macports.org takeshi at macports.org
Fri Oct 19 18:07:42 PDT 2012


Revision: 98891
          http://trac.macports.org//changeset/98891
Author:   takeshi at macports.org
Date:     2012-10-19 18:07:42 -0700 (Fri, 19 Oct 2012)
Log Message:
-----------
berkeley_upc: use upc's gcc and g++. added MPI_CFLAGS

Modified Paths:
--------------
    trunk/dports/lang/berkeley_upc/Portfile

Modified: trunk/dports/lang/berkeley_upc/Portfile
===================================================================
--- trunk/dports/lang/berkeley_upc/Portfile	2012-10-19 22:58:55 UTC (rev 98890)
+++ trunk/dports/lang/berkeley_upc/Portfile	2012-10-20 01:07:42 UTC (rev 98891)
@@ -5,7 +5,7 @@
 
 name                berkeley_upc
 version             2.14.2
-revision            1
+revision            2
 categories          lang science parallel
 maintainers         takeshi
 description         Unified Parallel C runtime
@@ -33,7 +33,10 @@
     reinplace "s|\$opt{'gccupc'}|1|g" ${worksrcpath}/multiconf.conf.in
 }
 
+configure.cc        ${prefix}/lib/upc/bin/gcc
+configure.cxx       ${prefix}/lib/upc/bin/g++
 configure.env       MPI_CC=${prefix}/lib/openmpi/bin/mpicc \
+                    MPI_CFLAGS="-O3" \
                     GCCUPC_TRANS=${prefix}/lib/upc/bin/upc
               
 configure.args-append \
@@ -72,20 +75,12 @@
     }
 }
 
-if {![variant_isset gcc44]} {
-    default_variants +gcc45
+variant gcc44 conflicts gcc45 description {deprecated dummy variant} {
 }
 
-variant gcc44 conflicts gcc45 description {build with gcc44} {
-    depends_lib-append  port:gcc44
-    configure.compiler  macports-gcc-4.4
+variant gcc45 conflicts gcc44 description {deprecated dummy variant} {
 }
 
-variant gcc45 conflicts gcc44 description {build with gcc45} {
-    depends_lib-append  port:gcc45
-    configure.compiler  macports-gcc-4.5
-}
-
 livecheck.type      regex
 livecheck.url       ${homepage}
 livecheck.regex     {Berkeley UPC version ([0-9]+\.[0-9]+\.[0-9]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121019/a329acd5/attachment-0001.html>


More information about the macports-changes mailing list