Ticket #37785: mpich2_to_mpich-with-extra-variant.diff
File mpich2_to_mpich-with-extra-variant.diff, 31.9 KB (added by eborisch (Eric A. Borisch), 12 years ago) |
---|
-
devel/valgrind/Portfile
5 5 name valgrind 6 6 conflicts valgrind-devel 7 7 version 3.8.1 8 revision 1 8 9 categories devel 9 10 platforms darwin 10 11 supported_archs i386 x86_64 … … 69 70 } 70 71 } 71 72 72 variant mpich 2 description {Use mpich2for MPI support} conflicts universal {73 depends_lib-append p ort:mpich273 variant mpich description {Use mpich for MPI support} conflicts universal { 74 depends_lib-append path:bin/mpicc:mpich 74 75 configure.args-delete --without-mpicc 75 76 configure.args-append --with-mpicc=${prefix}/bin/mpicc 76 77 } … … 84 85 livecheck.type regex 85 86 livecheck.url ${homepage} 86 87 livecheck.regex ${name}-(\\d(?:\\.\\d)+) 88 89 variant mpich2 requires mpich description {Variant renamed as +mpich} {} -
devel/valgrind-devel/Portfile
7 7 svn.revision 13189 8 8 set vex_revision 2601 9 9 version 3.9.0-r${svn.revision} 10 revision 1 10 11 categories devel 11 12 platforms darwin 12 13 supported_archs i386 x86_64 … … 62 63 } 63 64 } 64 65 65 variant mpich 2 description {Use mpich2for MPI support} conflicts universal {66 depends_lib-append p ort:mpich266 variant mpich description {Use mpich for MPI support} conflicts universal { 67 depends_lib-append path:bin/mpicc:mpich 67 68 configure.args-delete --without-mpicc 68 69 configure.args-append --with-mpicc=${prefix}/bin/mpicc 69 70 } … … 75 76 } 76 77 77 78 livecheck.type none 79 80 variant mpich2 requires mpich description {Variant renamed as +mpich} {} -
graphics/vtk-devel/Portfile
5 5 6 6 name vtk-devel 7 7 version 5.4.2 8 revision 18 revision 2 9 9 set branch [join [lrange [split ${version} .] 0 1] .] 10 10 11 11 categories graphics math science devel … … 760 760 variant mpi description "use message passing interface (mpich2) for parallel support" { 761 761 set nCPU [expr [exec sysctl -n hw.logicalcpu_max]] 762 762 depends_lib-append \ 763 p ort:mpich2763 path:bin/mpicc:mpich 764 764 configure.args-append \ 765 765 -DVTK_USE_MPI:BOOL=ON \ 766 766 -DMPI_COMPILER:FILEPATH=${prefix}/bin/mpicxx \ -
lang/omnixmp/Portfile
49 49 default_variants +gcc45 50 50 } 51 51 52 if {![variant_isset mpich 2] && ![variant_isset mpich]} {52 if {![variant_isset mpich]} { 53 53 default_variants-append +openmpi 54 54 } 55 55 … … 75 75 configure.compiler macports-gcc-4.7 76 76 } 77 77 78 variant openmpi conflicts mpich 2 mpichdescription {build with OpenMPI} {78 variant openmpi conflicts mpich description {build with OpenMPI} { 79 79 depends_lib-append port:openmpi 80 80 configure.args-append --with-mpicc=${prefix}/lib/openmpi/bin/mpicc 81 81 configure.args-append --with-mpif90=${prefix}/lib/openmpi/bin/mpif90 82 82 } 83 83 84 variant mpich2 conflicts openmpi mpich description {build with MPICH2} { 85 depends_lib-append port:mpich2 86 configure.args-append --with-mpicc=${prefix}/bin/mpicc 87 configure.args-append --with-mpif90=${prefix}/bin/mpif90 88 } 84 variant mpich2 requires mpich description {Variant remaned as +mpich} {} 89 85 90 variant mpich conflicts openmpi mpich2 description {build with MPICH3} {86 variant mpich conflicts openmpi description {build with MPICH} { 91 87 depends_lib-append port:mpich 92 88 configure.args-append --with-mpicc=${prefix}/bin/mpicc 93 89 configure.args-append --with-mpif90=${prefix}/bin/mpif90 -
math/arpack/Portfile
5 5 6 6 name arpack 7 7 version 3.1.2 8 revision 1 8 9 categories math 9 10 license BSD 10 11 platforms darwin … … 46 47 set universal_archs_supported "ppc ppc64" 47 48 } 48 49 49 variant openmpi description {build with OpenMPI} conflicts mpich 2{50 variant openmpi description {build with OpenMPI} conflicts mpich { 50 51 depends_lib-append port:openmpi 51 52 configure.env-append MPIF77=${prefix}/bin/openmpif77 52 53 } 53 54 54 variant mpich 2 description {build with MPICH2} conflicts openmpi {55 depends_lib-append p ort:mpich255 variant mpich description {build with MPICH} conflicts openmpi { 56 depends_lib-append path:bin/mpicc:mpich 56 57 configure.env-append MPIF77=${prefix}/bin/mpif77 57 58 } 58 59 59 if {![variant_isset mpich 2]} {60 if {![variant_isset mpich]} { 60 61 default_variants +openmpi 61 62 } 62 63 … … 98 99 variant accelerate conflicts atlas description {build with Accelerate framework} { 99 100 configure.args-append --with-lapack=/usr/lib/liblapack.dylib 100 101 patchfiles-append patch-ARPACK-cdot-and-zdot.diff 101 if {[variant_isset openmpi] || [variant_isset mpich 2]} {102 if {[variant_isset openmpi] || [variant_isset mpich]} { 102 103 patchfiles-append patch-PARPACK-cdot-and-zdot.diff 103 104 } 104 105 } … … 121 122 livecheck.type regex 122 123 livecheck.url http://forge.scilab.org/index.php/p/arpack-ng/downloads/ 123 124 livecheck.regex ${name}-ng (\[0-9.\]+\[0-9\]) 125 126 variant mpich2 requires mpich description {Variant renamed as +mpich} {} -
math/fftw/Portfile
4 4 5 5 name fftw 6 6 version 2.1.5 7 revision 47 revision 5 8 8 categories math devel 9 9 license GPL-2+ 10 10 maintainers nomaintainer … … 71 71 } 72 72 73 73 variant mpi description {Include FFTW MPI library} { 74 depends_lib-append p ort:mpich274 depends_lib-append path:bin/mpicc:mpich 75 75 configure.args-append --enable-mpi 76 76 } -
math/fftw-3/Portfile
5 5 6 6 name fftw-3 7 7 version 3.3.3 8 revision 1 8 9 categories math 9 10 license GPL-2+ 10 11 platforms darwin … … 115 116 file delete ${destroot}${prefix}/share/info/fftw3.info-4 116 117 file delete ${destroot}${prefix}/share/info/fftw3.info-5 117 118 118 if {[variant_isset mpich 2] || [variant_isset openmpi]} {119 if {[variant_isset mpich] || [variant_isset openmpi]} { 119 120 file delete ${destroot}${prefix}/include/fftw3-mpi.f03 120 121 file delete ${destroot}${prefix}/include/fftw3-mpi.h 121 122 file delete ${destroot}${prefix}/include/fftw3l-mpi.f03 … … 162 163 file delete ${destroot}${prefix}/share/info/fftw3.info-4 163 164 file delete ${destroot}${prefix}/share/info/fftw3.info-5 164 165 165 if {[variant_isset mpich 2] || [variant_isset openmpi]} {166 if {[variant_isset mpich] || [variant_isset openmpi]} { 166 167 file delete ${destroot}${prefix}/include/fftw3-mpi.f03 167 168 file delete ${destroot}${prefix}/include/fftw3-mpi.h 168 169 file delete ${destroot}${prefix}/include/fftw3l-mpi.f03 … … 251 252 } 252 253 } 253 254 254 variant openmpi description {compile FFTW MPI library with OpenMPI} conflicts mpich 2{255 variant openmpi description {compile FFTW MPI library with OpenMPI} conflicts mpich { 255 256 depends_lib-append port:openmpi 256 257 configure.env MPICC=${prefix}/lib/openmpi/bin/mpicc 257 258 configure.args-append --enable-mpi 258 259 } 259 260 260 variant mpich 2 description {compile FFTW MPI library with MPICH2} conflicts openmpi {261 depends_lib-append path:bin/mpicc:mpich 2261 variant mpich description {compile FFTW MPI library with MPICH} conflicts openmpi { 262 depends_lib-append path:bin/mpicc:mpich 262 263 configure.env MPICC=${prefix}/bin/mpicc 263 264 configure.args-append --enable-mpi 264 265 } 265 266 267 variant mpich2 requires mpich description {Variant renamed as +mpich} {} 268 266 269 if {${name} == ${subport}} { 267 270 livecheck.type regex 268 271 livecheck.url ${homepage} -
math/fftw-single/Portfile
4 4 5 5 name fftw-single 6 6 version 2.1.5 7 revision 37 revision 4 8 8 categories math devel 9 9 license GPL-2+ 10 10 maintainers nomaintainer … … 74 74 } 75 75 76 76 variant mpi description {Include FFTW MPI library} { 77 depends_lib-append p ort:mpich277 depends_lib-append path:bin/mpicc:mpich 78 78 configure.args-append --enable-mpi 79 79 } 80 80 -
math/petsc/Portfile
6 6 7 7 name petsc 8 8 version 3.3-p5 9 revision 19 revision 2 10 10 categories math science 11 11 maintainers mmoll 12 12 description Portable, Extensible Toolkit for Scientific Computation … … 64 64 65 65 conflicts_build petsc 66 66 67 variant openmpi description {Build using the OpenMPI compiler} conflicts mpich 2{67 variant openmpi description {Build using the OpenMPI compiler} conflicts mpich { 68 68 depends_lib-append port:openmpi 69 69 configure.args-append \ 70 70 --with-cc=${prefix}/bin/openmpicc \ … … 73 73 --with-mpiexec=${prefix}/bin/openmpiexec 74 74 } 75 75 76 variant mpich 2 description {Build using the MPICH2compiler} conflicts openmpi {77 depends_lib-append p ort:mpich276 variant mpich description {Build using the MPICH compiler} conflicts openmpi { 77 depends_lib-append path:bin/mpicc:mpich 78 78 configure.args-append \ 79 79 --with-cc=${prefix}/bin/mpicc \ 80 80 --with-cxx=${prefix}/bin/mpicxx \ … … 93 93 --with-blas-lapack-lib=${prefix}/lib/libtatlas.dylib 94 94 } 95 95 96 if {![variant_isset mpich 2]} {96 if {![variant_isset mpich]} { 97 97 default_variants +openmpi 98 98 } 99 99 if {![variant_isset atlas]} { … … 105 105 livecheck.type regex 106 106 livecheck.url http://www.mcs.anl.gov/petsc/petsc-2/download/index.html 107 107 livecheck.regex petsc-lite-(\[0-9.\]+(-p\[0-9\]+))\\.tar\\.gz 108 109 variant mpich2 requires mpich description {Variant renamed as +mpich} {} -
math/plda/Portfile
5 5 6 6 name plda 7 7 version 3.1 8 revision 18 revision 2 9 9 categories math textproc 10 10 maintainers hum openmaintainer 11 11 … … 33 33 CFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" 34 34 35 35 variant mpi description {Add parallel lda} { 36 depends_lib p ort:mpich236 depends_lib path:bin/mpicc:mpich 37 37 build.target lda infer mpi_lda 38 38 post-destroot { 39 39 xinstall -m 755 ${worksrcpath}/mpi_lda ${destroot}${prefix}/bin/mpi_plda -
python/py-mpi4py/Portfile
6 6 7 7 name py-mpi4py 8 8 version 1.3 9 revision 29 revision 3 10 10 license BSD 11 11 description MPI for Python - Python bindings for MPI 12 12 long_description \ … … 37 37 depends_lib-append port:openmpi 38 38 build.args-append "--mpicc=${prefix}/bin/openmpicc" 39 39 40 # openmpi and mpich 2are not universal40 # openmpi and mpich are not universal 41 41 universal_variant no 42 42 43 43 if { ${os.platform} != "darwin" || ${os.major} > 8 } { 44 44 45 variant mpich 2 description {builds with the mpich2port} {45 variant mpich description {builds with the mpich port} { 46 46 build.args-delete "--mpicc=${prefix}/bin/openmpicc" 47 47 depends_lib-delete port:openmpi 48 depends_lib-append p ort:mpich248 depends_lib-append path:bin/mpicc:mpich 49 49 } 50 50 51 variant mpich2 requires mpich description {Variant renamed as +mpich} {} 51 52 } 52 53 53 54 variant interpreter description {builds an mpi enabled python interpreter} { -
science/hdf5/Portfile
5 5 6 6 name hdf5 7 7 version 1.6.9 8 revision 38 revision 4 9 9 categories science 10 10 license NCSA 11 11 maintainers nomaintainer … … 108 108 } 109 109 } 110 110 111 variant mpich 2 description {Parallel HDF5 with mpich2(disables C++)} {112 depends_lib-append p ort:mpich2111 variant mpich description {Parallel HDF5 with mpich (disables C++)} { 112 depends_lib-append path:bin/mpicc:mpich 113 113 configure.args-delete --enable-cxx 114 114 configure.cc ${prefix}/bin/mpicc 115 115 if { [variant_isset fortran] } { 116 116 configure.fc ${prefix}/bin/mpif90 117 117 } 118 118 } 119 120 variant mpich2 requires mpich description {Variant renamed as +mpich} {} -
science/hdf5-18/Portfile
8 8 set realname hdf5 9 9 name ${realname}-18 10 10 version 1.8.10 11 revision 1 11 12 categories science 12 13 maintainers mmoll openmaintainer 13 14 … … 82 83 83 84 variant cxx description { 84 85 Enable c++ interfance. 85 +cxx is EXPERIMENTAL with +mpich 2, +openmpi, or +threadsafe86 +cxx is EXPERIMENTAL with +mpich, +openmpi, or +threadsafe 86 87 } { 87 88 configure.args-delete --disable-cxx 88 89 configure.args-append --enable-cxx 89 90 } 90 91 91 92 variant fortran description { 92 Enable fortran bindings. If combined with +openmpi or +mpich 2, the\93 Enable fortran bindings. If combined with +openmpi or +mpich, the\ 93 94 respective MPI package must have been built with fortran support. 94 Must be combined with +gcc44, +gcc45, +gcc46, +gcc47, +mpich 2, or +openmpi95 Must be combined with +gcc44, +gcc45, +gcc46, +gcc47, +mpich, or +openmpi 95 96 +fortran is EXPERIMENTAL with +threadsafe 96 97 } { 97 98 configure.args-delete --disable-fortran … … 99 100 } 100 101 101 102 if {[ variant_isset fortran ] && 102 !([variant_isset mpich 2] ||103 !([variant_isset mpich ] || 103 104 [variant_isset openmpi ] || 104 105 [variant_isset gcc44] || 105 106 [variant_isset gcc45] || 106 107 [variant_isset gcc46] || 107 108 [variant_isset gcc47]) } { 108 ui_error "+fortran requires +mpich 2, +openmpi, or +gccNN"109 ui_error "+fortran requires +mpich, +openmpi, or +gccNN" 109 110 return -code error 110 111 } 111 112 112 113 variant threadsafe description { 113 114 Enable threadsafety. 114 +threadsafe is EXPERIMENTAL with +cxx, +fortran, +mpich 2or +openmpi115 +threadsafe is EXPERIMENTAL with +cxx, +fortran, +mpich or +openmpi 115 116 } { 116 117 configure.args-delete --disable-threadsafe 117 118 configure.args-append --enable-threadsafe --with-pthread … … 119 120 120 121 if {[ variant_isset threadsafe ] && ([ variant_isset cxx] || 121 122 [ variant_isset fortran]) || 122 ([ variant_isset mpich 2] || [ variant_isset openmpi ]) &&123 ([ variant_isset mpich ] || [ variant_isset openmpi ]) && 123 124 ([ variant_isset cxx ] || [ variant_isset threadsafe ]) } { 124 125 125 126 # Tell hdf5-18 to configure in this experimental configuration … … 149 150 variant openmpi description { 150 151 Enable Parallel HDF5 with openmpi. Uses compiler selected with openmpi. 151 152 +openmpi is EXPERIMENTAL with +cxx or +threadsafe. 152 } conflicts universal mpich 2gcc44 gcc45 gcc46 gcc47 {153 } conflicts universal mpich gcc44 gcc45 gcc46 gcc47 { 153 154 depends_lib-append port:openmpi 154 155 configure.cc ${prefix}/bin/openmpicc 155 156 configure.cxx ${prefix}/bin/openmpicxx 156 157 configure.fc ${prefix}/bin/openmpif90 157 158 } 158 159 159 # mpich 2port does not support universal160 variant mpich 2description {161 Enable Parallel HDF5 with mpich 2. Uses compiler selected with mpich2.162 +mpich 2is EXPERIMENTAL with +cxx or +threadsafe.160 # mpich port does not support universal 161 variant mpich description { 162 Enable Parallel HDF5 with mpich. Uses compiler selected with mpich. 163 +mpich is EXPERIMENTAL with +cxx or +threadsafe. 163 164 } conflicts universal openmpi gcc44 gcc45 gcc46 gcc47 { 164 depends_lib-append path:bin/mpicc:mpich 2165 depends_lib-append path:bin/mpicc:mpich 165 166 configure.cc ${prefix}/bin/mpicc 166 167 configure.cxx ${prefix}/bin/mpicxx 167 168 configure.fc ${prefix}/bin/mpif90 168 169 } 169 170 170 if {[ variant_isset mpich 2] || [ variant_isset openmpi ]} {171 if {[ variant_isset mpich ] || [ variant_isset openmpi ]} { 171 172 # These are compiler wrappers that already have MP's flags built in. 172 173 configure.cflags 173 174 configure.cxxflags … … 183 184 184 185 variant gcc44 description { 185 186 Build with MacPorts' gcc44 compiler. 186 } conflicts universal gcc45 gcc46 gcc47 openmpi mpich 2{187 } conflicts universal gcc45 gcc46 gcc47 openmpi mpich { 187 188 depends_lib-append port:gcc44 188 189 configure.compiler macports-gcc-4.4 189 190 } 190 191 191 192 variant gcc45 description { 192 193 Build with MacPorts' gcc45 compiler. 193 } conflicts universal gcc44 gcc46 gcc47 openmpi mpich 2{194 } conflicts universal gcc44 gcc46 gcc47 openmpi mpich { 194 195 depends_lib-append port:gcc45 195 196 configure.compiler macports-gcc-4.5 196 197 } 197 198 198 199 variant gcc46 description { 199 200 Build with MacPorts' gcc46 compiler. 200 } conflicts universal gcc44 gcc45 gcc47 openmpi mpich 2{201 } conflicts universal gcc44 gcc45 gcc47 openmpi mpich { 201 202 depends_lib-append port:gcc46 202 203 configure.compiler macports-gcc-4.6 203 204 } 204 205 205 206 variant gcc47 description { 206 207 Build with MacPorts' gcc47 compiler. 207 } conflicts universal gcc44 gcc45 gcc46 openmpi mpich 2{208 } conflicts universal gcc44 gcc45 gcc46 openmpi mpich { 208 209 depends_lib-append port:gcc47 209 210 configure.compiler macports-gcc-4.7 210 211 } … … 213 214 livecheck.type regex 214 215 livecheck.url http://www.hdfgroup.org/HDF5/release/obtain5.html 215 216 livecheck.regex 5-(\[0-9.\]+) 217 218 variant mpich2 requires mpich description {Variant renamed as +mpich} {} -
science/lalinference/Portfile
1 # $Id : Portfile 100320 2012-12-08 07:07:50Z ram@macports.org$1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 PortGroup active_variants 1.1 -
science/lalstochastic/Portfile
1 # $Id : Portfile 99902 2012-11-21 03:33:00Z ram@macports.org$1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 -
science/mpich2/Portfile
4 4 PortSystem 1.0 5 5 6 6 name mpich2 7 set pkgname mpich28 7 version 1.5 9 revision 68 revision 7 10 9 epoch 20121008 11 10 categories science parallel net 11 homepage http://www.mpich.org 12 12 license BSD 13 categories science parallel net14 platforms darwin15 maintainers eborisch \16 openmaintainer17 13 18 description Message Passing Interface (MPI) Library 14 replaced_by mpich 19 15 20 long_description MPICH2 is an implementation of the Message-Passing \ 21 Interface (MPI). The goals of MPICH2 are to provide an \ 22 MPI implementation for important platforms, including \ 23 clusters, SMPs, and massively parallel processors. It \ 24 also provides a vehicle for MPI implementation research \ 25 and for developing new and better parallel programming \ 26 environments. 16 PortGroup obsolete 1.0 27 17 28 homepage http://www.mpich.org/29 master_sites ${homepage}static/tarballs/${version}/30 distname ${pkgname}-${version}31 32 checksums \33 rmd160 69572f5c435aec1ef37af197f7509cfc073ce53a \34 sha256 7175926fc2e4230f00201e880318c08de4f949c0dbe167fe1b2e256ac79d5f6635 36 subport mpich2-devel {37 # Currently mpich2-devel == mpich238 conflicts mpich239 }40 41 universal_variant no42 43 depends_lib-append port:libxml244 conflicts-append lammpi \45 openmpi46 47 configure.args --disable-dependency-tracking \48 --disable-f77 \49 --disable-fc \50 --disable-silent-rules \51 --enable-base-cache \52 --enable-cache \53 --enable-cxx \54 --enable-fast=O2 \55 --enable-shared \56 --enable-smpcoll \57 --with-device=ch3:nemesis \58 --with-mpe \59 --with-pm=hydra \60 --with-thread-package=posix \61 "F90FLAGS='' F90=''"62 63 platform darwin {64 configure.args-append --enable-timer-type=mach_absolute_time65 }66 67 # We're making compiler wrappers here... don't default to -O2 for wrappers.68 # Actual library code is compiled with -O2 via --enable-fast=O2 configure arg69 configure.cflags-delete -O270 configure.cxxflags-delete -O271 configure.fflags-delete -O272 configure.fcflags-delete -O273 74 post-destroot {75 # Move examples directories to preferred location76 move ${destroot}${prefix}/share/examples \77 ${destroot}${prefix}/share/doc/${pkgname}/examples78 79 # Remove un-needed (in MacPorts) binaries80 file delete ${destroot}${prefix}/sbin/mpeuninstall81 file delete ${destroot}${prefix}/sbin/mpecheckinstall82 83 # That's what man pages are for84 delete ${destroot}${prefix}/share/doc/www485 }86 87 # As MPICH creates compiler wrappers, there are lots of88 # variants for what compiler the user would like to wrap.89 90 variant gcc47 description {91 Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc47 port92 } conflicts gcc43 gcc44 gcc45 gcc46 llvm clang clang31 {93 depends_lib-append port:gcc4794 configure.compiler macports-gcc-4.795 }96 97 variant gcc46 description {98 Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc46 port99 } conflicts gcc43 gcc44 gcc45 gcc47 llvm clang clang31 {100 depends_lib-append port:gcc46101 configure.compiler macports-gcc-4.6102 }103 104 variant gcc45 description {105 Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc45 port106 } conflicts gcc43 gcc44 gcc46 gcc47 llvm clang clang31 {107 depends_lib-append port:gcc45108 configure.compiler macports-gcc-4.5109 }110 111 variant gcc44 description {112 Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc44 port113 } conflicts gcc43 gcc45 gcc46 gcc47 llvm clang clang31 {114 depends_lib-append port:gcc44115 configure.compiler macports-gcc-4.4116 }117 118 variant gcc43 description {119 Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43 port120 } conflicts gcc44 gcc45 gcc46 gcc47 llvm clang clang31 {121 depends_lib-append port:gcc43122 configure.compiler macports-gcc-4.3123 }124 125 if {[ variant_isset gcc43 ] ||126 [ variant_isset gcc44 ] ||127 [ variant_isset gcc45 ] ||128 [ variant_isset gcc46 ] ||129 [ variant_isset gcc47 ]} {130 configure.args-append --enable-f77 --enable-fc131 configure.args-delete --disable-f77 --disable-fc132 }133 134 variant llvm description {135 Use Apple-supplied llvm-gcc136 } conflicts gcc43 gcc44 gcc45 gcc46 gcc47 clang clang31 {137 configure.compiler llvm-gcc-4.2138 }139 140 variant clang description {141 Use Apple-supplied clang142 } conflicts gcc43 gcc44 gcc45 gcc46 gcc47 llvm clang31 {143 configure.compiler clang144 }145 146 variant clang31 description {147 Use clang 3.1 from MacPorts148 } conflicts gcc43 gcc44 gcc45 gcc46 gcc47 llvm clang {149 depends_lib-append port:clang-3.1150 configure.compiler clang151 configure.cc ${prefix}/bin/clang-mp-3.1152 configure.cxx ${prefix}/bin/clang++-mp-3.1153 }154 155 variant gforker description {156 Use gforker process manager instead of the default hydra157 } {158 configure.args-append --with-pm=gforker159 configure.args-delete --with-pm=hydra160 }161 162 variant tuned description {Build with more optimizations} {163 configure.args-delete --enable-fast=O2164 configure.args-append --enable-fast=all \165 MPICH2LIB_CFLAGS='-fomit-frame-pointer -O2'166 }167 168 if {${configure.compiler} == "clang"} {169 configure.env-append ac_cv_tls=none170 }171 172 livecheck.type regex173 livecheck.regex ${pkgname}-(\[0-9.pbrc\]+)${extract.suffix}174 livecheck.url ${homepage}downloads/index.php?s=downloads -
science/nco/Portfile
5 5 6 6 name nco 7 7 version 4.2.3 8 revision 18 revision 2 9 9 platforms darwin 10 10 maintainers takeshi 11 11 license GPL-3 … … 54 54 --enable-dap-netcdf \ 55 55 --enable-netcdf4 56 56 57 if {![variant_isset openmpi]&&![variant_isset mpich 2]} {57 if {![variant_isset openmpi]&&![variant_isset mpich]} { 58 58 post-configure { 59 59 foreach d {nco nco++ nco_c++} { 60 60 reinplace "s|= -I${prefix}/include|= |" ${worksrcpath}/src/${d}/Makefile … … 71 71 } 72 72 } 73 73 74 variant mpich 2 description {enable MPI with mpich2} {75 depends_lib-append p ort:mpich274 variant mpich description {enable MPI with mpich} { 75 depends_lib-append path:bin/mpicc:mpich 76 76 configure.args-append --enable-mpi 77 77 } 78 78 … … 84 84 livecheck.type regex 85 85 livecheck.url ${homepage} 86 86 livecheck.regex {Current NCO version is ([0-9]+\.[0-9]+\.[0-9]+)} 87 88 variant mpich2 requires mpich description {Variant renamed as +mpich} {} -
science/netcdf/Portfile
6 6 name netcdf 7 7 epoch 2 8 8 version 4.2.1.1 9 revision 19 revision 2 10 10 maintainers takeshi openmaintainer 11 11 platforms darwin 12 12 categories science … … 57 57 58 58 default_variants +netcdf4 +dap 59 59 60 variant openmpi conflicts mpich 2description {compile with openmpi} {60 variant openmpi conflicts mpich description {compile with openmpi} { 61 61 depends_lib-append port:openmpi 62 62 configure.cc openmpicc 63 63 } 64 64 65 variant mpich 2 conflicts openmpi description {compile with mpich2} {66 depends_lib-append p ort:mpich265 variant mpich conflicts openmpi description {compile with mpich} { 66 depends_lib-append path:bin/mpicc:mpich 67 67 configure.cc mpicc 68 68 configure.cc_archflags "" 69 69 configure.ld_archflags "" … … 94 94 livecheck.type regex 95 95 livecheck.url http://www.unidata.ucar.edu/downloads/${name}/ 96 96 livecheck.regex {The netCDF C library and utilities, version ([0-9]+\.[0-9]+\.[0-9]+[\.]*[0-9]*)} 97 98 variant mpich2 requires mpich description {Variant renamed as +mpich} {} -
science/netcdf-cxx/Portfile
5 5 6 6 name netcdf-cxx 7 7 version 4.2 8 revision 18 revision 2 9 9 distname ${name}-${version} 10 10 maintainers takeshi openmaintainer 11 11 platforms darwin … … 50 50 51 51 destroot.destdir prefix=${destroot}${prefix} 52 52 53 variant openmpi conflicts mpich 2description {compile with openmpi} {53 variant openmpi conflicts mpich description {compile with openmpi} { 54 54 depends_lib-append port:openmpi 55 55 configure.cc openmpicc 56 56 configure.cxx openmpicxx 57 57 } 58 58 59 variant mpich 2 conflicts openmpi description {compile with mpich2} {60 depends_lib-append p ort:mpich259 variant mpich conflicts openmpi description {compile with mpich} { 60 depends_lib-append path:bin/mpicc:mpich 61 61 configure.cc mpicc 62 62 configure.cxx mpicxx 63 63 } 64 65 variant mpich2 requires mpich description {Variant renamed as +mpich} {} -
science/netcdf-cxx4/Portfile
5 5 6 6 name netcdf-cxx4 7 7 version 4.2 8 revision 1 8 9 distname ${name}-${version} 9 10 maintainers takeshi openmaintainer 10 11 platforms darwin … … 47 48 48 49 destroot.destdir prefix=${destroot}${prefix} 49 50 50 variant openmpi conflicts mpich 2description {compile with openmpi} {51 variant openmpi conflicts mpich description {compile with openmpi} { 51 52 depends_lib-append port:openmpi 52 53 configure.cc openmpicc 53 54 configure.cxx openmpicxx 54 55 } 55 56 56 variant mpich 2 conflicts openmpi description {compile with mpich2} {57 depends_lib-append p ort:mpich257 variant mpich conflicts openmpi description {compile with mpich} { 58 depends_lib-append path:bin/mpicc:mpich 58 59 configure.cc mpicc 59 60 configure.cxx mpicxx 60 61 } 62 63 variant mpich2 requires mpich description {Variant renamed as +mpich} {} -
science/netcdf-fortran/Portfile
6 6 7 7 name netcdf-fortran 8 8 version 4.2 9 revision 59 revision 6 10 10 maintainers takeshi openmaintainer 11 11 platforms darwin 12 12 categories science … … 127 127 configure.f77 ${configure.fc} 128 128 } 129 129 130 variant openmpi conflicts mpich 2description {compile with openmpi} {130 variant openmpi conflicts mpich description {compile with openmpi} { 131 131 depends_lib-append port:openmpi 132 132 configure.fc openmpif77 133 133 configure.cc openmpicc 134 134 } 135 135 136 variant mpich 2 conflicts openmpi description {compile with mpich2} {137 depends_lib-append p ort:mpich2136 variant mpich conflicts openmpi description {compile with mpich} { 137 depends_lib-append path:bin/mpicc:mpich 138 138 configure.fc mpif90 139 139 configure.cc mpicc 140 140 } 141 142 variant mpich2 requires mpich description {Variant renamed as +mpich} {} -
science/ocaml-mpi/Portfile
4 4 5 5 name ocaml-mpi 6 6 version 1.01 7 revision 27 revision 3 8 8 categories science devel ml 9 9 maintainers mww 10 10 license LGPL-2 … … 21 21 sha1 4f836f02f7e8852ba72d4293aea43cf7a3438b0f \ 22 22 rmd160 c0a08090073c54e130cd2712c7d1cfbeb8d17793 23 23 24 depends_lib port:ocaml port:ocaml-findlib p ort:mpich224 depends_lib port:ocaml port:ocaml-findlib path:bin/mpicc:mpich 25 25 26 26 patchfiles Makefile.diff 27 27