[140717] trunk/dports/science

eborisch at macports.org eborisch at macports.org
Wed Sep 30 14:58:10 PDT 2015


Revision: 140717
          https://trac.macports.org/changeset/140717
Author:   eborisch at macports.org
Date:     2015-09-30 14:58:10 -0700 (Wed, 30 Sep 2015)
Log Message:
-----------
OpenCoarrays: new port.

Added Paths:
-----------
    trunk/dports/science/OpenCoarrays/
    trunk/dports/science/OpenCoarrays/Portfile

Added: trunk/dports/science/OpenCoarrays/Portfile
===================================================================
--- trunk/dports/science/OpenCoarrays/Portfile	                        (rev 0)
+++ trunk/dports/science/OpenCoarrays/Portfile	2015-09-30 21:58:10 UTC (rev 140717)
@@ -0,0 +1,64 @@
+# -*- 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$
+
+PortSystem          1.0
+PortGroup           cmake 1.0
+PortGroup           github 1.0
+PortGroup           mpi 1.0
+
+github.setup        sourceryinstitute opencoarrays v1.0.0
+name                OpenCoarrays
+version             1.0.0
+categories          science parallel devel
+platforms           darwin
+license             BSD
+maintainers         gmail.com:fanfarillo.gcc
+
+description         Library for multi-image coarray Fortran suppport
+long_description    OpenCoarrays is an open-source software project \
+                    for developing, porting and tuning transport \
+                    layers that support coarray Fortran compilers. \
+                    We target compilers that conform to the coarray \
+                    parallel programming feature set specified in the \
+                    Fortran 2008 standard. We also support several \
+                    features proposed for Fortran 2015 in the draft \
+                    Technical Specification 'TS18508 Additional \
+                    Parallel Features in Fortran'.
+homepage            http://opencoarrays.org
+
+mpi.setup           require require_fortran \
+                    -gcc44 -gcc45 -gcc46 -gcc47 -gcc48 -gcc49 \
+                    -dragonegg -clang -llvm -fortran
+universal_variant   no
+if {![variant_isset gcc5] && ![variant_isset gcc6]} {
+    default_variants +gcc5
+}
+
+checksums \
+    rmd160  96092add58f18eb1703bea988762830c4a2058d5 \
+    sha256  a02703607f7d02537d36126bcba99d88731a0eb615c581487e93720e598bb72a
+
+#patchfiles          tests-compiler.patch
+
+cmake.out_of_source yes
+
+post-patch {
+    reinplace "s|mpicc|${prefix}/bin/mpicc-${mpi.name}|g" \
+        src/make.inc src/mpi/Makefile src/tests/unit/simple/CMakeLists.txt
+}
+
+# Required to run the test phase.
+pre-configure {
+    configure.args-append \
+        -DMPIEXEC=${prefix}/bin/${mpi.exec} \
+        -DMPI_C_COMPILER=${prefix}/bin/mpicc-${mpi.name} \
+        -DMPI_Fortran_COMPILER=${prefix}/bin/mpif90-${mpi.name} 
+}
+
+#test.run            yes
+#test.target         test
+
+post-destroot {
+    move ${destroot}${prefix}/mod/opencoarrays.mod \
+            ${destroot}${prefix}/include
+}


Property changes on: trunk/dports/science/OpenCoarrays/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150930/8f281198/attachment.html>


More information about the macports-changes mailing list