Changeset 82646
- Timestamp:
- 08/17/11 08:16:06 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/science/mpich2/Portfile (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/science/mpich2/Portfile
r79615 r82646 5 5 name mpich2 6 6 version 1.4 7 revision 1 7 8 license BSD 8 9 categories science parallel net … … 26 27 rmd160 ecd60567d80ad08ecd06e8fe8cfaeb626941f768 27 28 29 # Don't build if lammpi is around. 30 if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} { 31 ui_error "Cannot co-exist with lammpi; please deactivate lammpi before building." 32 return -code error 33 } 34 28 35 # Puts all entries in <prefix>/share into appropriate mpich2 subdirs 29 36 destroot.args PACKAGE=mpich2 … … 46 53 --enable-base-cache 47 54 55 build.args-append VERBOSE=1 56 48 57 universal_variant no 58 use_parallel_build no 59 conflicts lammpi 49 60 50 use_parallel_build no 61 # As MPICH creates compiler wrappers, there are lots of 62 # variants for what compiler the user would like to wrap. 51 63 52 variant gcc45 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc45} conflicts gcc42 gcc43 gcc44 llvm{64 variant gcc45 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc45} conflicts gcc42 gcc43 gcc44 sustem_gcc llvm clang { 53 65 depends_lib-append port:gcc45 54 66 configure.compiler macports-gcc-4.5 55 67 } 56 68 57 variant gcc44 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc44} conflicts gcc42 gcc43 gcc45 llvm{69 variant gcc44 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc44} conflicts gcc42 gcc43 gcc45 sustem_gcc llvm clang { 58 70 depends_lib-append port:gcc44 59 71 configure.compiler macports-gcc-4.4 60 72 } 61 73 62 variant gcc43 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts gcc42 gcc44 gcc45 llvm{74 variant gcc43 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts gcc42 gcc44 gcc45 sustem_gcc llvm clang { 63 75 depends_lib-append port:gcc43 64 76 configure.compiler macports-gcc-4.3 65 77 } 66 78 67 variant gcc42 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc42} conflicts gcc43 gcc44 gcc45 llvm{79 variant gcc42 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc42} conflicts gcc43 gcc44 gcc45 sustem_gcc llvm clang { 68 80 depends_lib-append port:gcc42 69 81 configure.compiler macports-gcc-4.2 … … 78 90 } 79 91 80 variant llvm description {Use llvm-gcc} conflicts gcc42 gcc43 gcc44 gcc45 { 92 variant system_gcc description {Use system gcc (no Fortran)} conflicts gcc42 gcc43 gcc44 gcc45 llvm clang { 93 configure.compiler gcc-4.2 94 } 95 96 variant llvm description {Use llvm-gcc} conflicts gcc42 gcc43 gcc44 gcc45 system_gcc clang { 81 97 configure.compiler llvm-gcc-4.2 98 } 99 100 variant clang description {Use clang} conflicts gcc42 gcc43 gcc44 gcc45 sustem_gcc llvm { 101 configure.compiler clang 102 configure.cxx clang++ 103 configure.cflags-append -w 104 configure.cxxflags-append -w 82 105 } 83 106 … … 93 116 variant default_mpi description {Install as defalt MPI -- conflict with OpenMPI} { 94 117 configure.args-delete --includedir=${prefix}/include/${name} 118 conflicts-append openmpi 95 119 } 96 120
Note: See TracChangeset
for help on using the changeset viewer.

