Ticket #40715: Portfile-parmetis.diff
File Portfile-parmetis.diff, 1.7 KB (added by TBird2001 (Jason Verley), 11 years ago) |
---|
-
Portfile
old new 8 8 categories math 9 9 platforms darwin 10 10 maintainers ryandesign openmaintainer 11 # Included license is for "evaluation purposes" only (whatever that means) if 12 # you're not a non-profit or US government agency. 13 license Restrictive 11 14 12 15 description ParMETIS - parallel graph partitioning 13 16 … … 19 22 checksums rmd160 1e81baf2bafe79b7abed656bff2fa3745966a196 \ 20 23 sha256 f2d9a231b7cf97f1fee6e8c9663113ebf6c240d407d3c118c55b3633d6be6e5f 21 24 22 depends_build port:cmake \ 23 port:mpich-default 25 depends_build port:cmake 24 26 25 27 patchfiles patch-Makefile.diff \ 26 28 patch-metis-GKlib-GKlibSystem.cmake.diff … … 28 30 # mpich-default is not universal 29 31 universal_variant no 30 32 31 configure.cc ${prefix}/bin/mpicc-mp 32 configure.cxx ${prefix}/bin/mpicxx-mp 33 default_variants +mpich 34 35 variant mpich conflicts openmpi description {Builds ParMETIS using MPICH} { 36 depends_build-append port:mpich-default 37 38 configure.cc ${prefix}/bin/mpicc-mp 39 configure.cxx ${prefix}/bin/mpicxx-mp 40 } 41 42 variant openmpi conflicts mpich description {Builds ParMETIS using Open MPI} { 43 depends_build-append port:openmpi 44 45 configure.cc ${prefix}/bin/openmpicc 46 configure.cxx ${prefix}/bin/openmpicxx 47 } 33 48 34 49 configure.cmd make config 35 50 configure.env CONFIG_FLAGS=-DCMAKE_INSTALL_NAME_DIR=${prefix}/lib