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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | # TODO: use cmake portgroup? |
---|
6 | |
---|
7 | name opencoarrays |
---|
8 | # TODO: upstream must officially release version 1.0 |
---|
9 | version 1.0 |
---|
10 | categories lang |
---|
11 | platforms darwin |
---|
12 | maintainers gmail.com:fanfarillo.gcc |
---|
13 | license BSD |
---|
14 | |
---|
15 | description Library for multi-image coarray Fortran suppport. |
---|
16 | |
---|
17 | long_description OpenCoarrays is an open-source software project for developing, \ |
---|
18 | porting and tuning transport layers that support coarray \ |
---|
19 | Fortran compilers. |
---|
20 | |
---|
21 | homepage http://opencoarrays.org |
---|
22 | # TODO: use official download URL (if that's github: use github 1.0 portgroup) |
---|
23 | master_sites http://www.ce.uniroma2.it |
---|
24 | |
---|
25 | checksums rmd160 f3d342d31beb79315bdf46d9ec51c05ccb122f32 \ |
---|
26 | sha256 23f235d47232825b9c5d7a03b7968af5637c0a586b391c70d57813e3e1896240 |
---|
27 | |
---|
28 | # TODO: use path:-style dep to support mpich-devel-gcc5 (blocked by #48086) |
---|
29 | # TODO: add gcc5 and gcc6 variants, gcc5 default until gcc6 is stable |
---|
30 | depends_lib port:gcc5 \ |
---|
31 | port:mpich-gcc5 |
---|
32 | |
---|
33 | use_configure no |
---|
34 | |
---|
35 | # TODO: universal variant? |
---|
36 | |
---|
37 | set configure.cc mpicc-mpich-gcc5 |
---|
38 | set configure.cxx mpicxx-mpich-gcc5 |
---|
39 | set configure.cpp mpic++-mpich-gcc5 |
---|
40 | |
---|
41 | # TODO: supply -arch flags to MPICC? |
---|
42 | build.args-append CC="${configure.cc} [get_canonical_archflags cc]" \ |
---|
43 | CXX=${configure.cxx} \ |
---|
44 | CPP=${configure.cpp} |
---|
45 | |
---|
46 | # TODO: install documentation |
---|
47 | destroot { |
---|
48 | xinstall -m 755 ${worksrcpath}/mpi/libcaf_mpi.a ${destroot}${prefix}/lib |
---|
49 | } |
---|