[100702] trunk/dports/science/mpich/Portfile
eborisch at macports.org
eborisch at macports.org
Thu Dec 20 17:31:20 PST 2012
Revision: 100702
https://trac.macports.org/changeset/100702
Author: eborisch at macports.org
Date: 2012-12-20 17:31:19 -0800 (Thu, 20 Dec 2012)
Log Message:
-----------
mpich[-devel]: Update to 3.0.1; work-around for clang linker issue.
Modified Paths:
--------------
trunk/dports/science/mpich/Portfile
Modified: trunk/dports/science/mpich/Portfile
===================================================================
--- trunk/dports/science/mpich/Portfile 2012-12-21 00:50:54 UTC (rev 100701)
+++ trunk/dports/science/mpich/Portfile 2012-12-21 01:31:19 UTC (rev 100702)
@@ -5,8 +5,7 @@
PortGroup compiler_blacklist_versions 1.0
name mpich
-set pkgname mpich2
-version 1.5
+version 3.0.1
revision 0
license BSD
@@ -28,12 +27,17 @@
Quadrics) and proprietary high-end computing systems (Blue\
Gene, Cray) and (2) to enable cutting-edge research in MPI\
through an easy-to-extend modular framework for other\
- derived implementations.
-
+ derived implementations. \n\
+ \n\
+ The mpich port follows the latest mpich 3.x line, and is \
+ the successor to the mpich2 port. Starting with the major \
+ release in November 2012, the project is renamed back to \
+ MPICH (from MPICH2) with a version number of 3.0.
homepage http://www.mpich.org/
+
checksums \
- rmd160 69572f5c435aec1ef37af197f7509cfc073ce53a \
- sha256 7175926fc2e4230f00201e880318c08de4f949c0dbe167fe1b2e256ac79d5f66
+ rmd160 a30aa14f9360b9cf2e88f9cd4f06b24b8800c55d \
+ sha256 8e93e4426bbf10fcde7d2422d78032010f73dd3bb59ab39a17c25d95223e87d8
configure.args --disable-dependency-tracking \
--disable-f77 \
@@ -45,28 +49,14 @@
--enable-fast=O2 \
--enable-shared \
--enable-smpcoll \
- --without-mpe \
--with-device=ch3:nemesis \
--with-pm=hydra \
--with-thread-package=posix \
"F90FLAGS='' F90=''"
subport mpich-devel {
- set pkgname mpich
conflicts mpich
- version 3.0rc1
-
- long_description-append \
- \n\nThe mpich-devel port follows the mpich 3.x line, and is\
- the successor to the mpich2 package. Starting with the\
- major release in November 2012, the project is renamed\
- back to MPICH (from MPICH2) with a version number of 3.0.
-
- checksums \
- rmd160 f351263b455db2503f675ba5a8c11560098eecd2 \
- sha256 5ff2599c0132b6ce9246925a790fa00a0a648c3049d858ade102512be509fe5f
-
- configure.args-delete --without-mpe
+# version 3.0
}
if {${subport} == ${name}} {
@@ -74,7 +64,6 @@
}
master_sites ${homepage}static/tarballs/${version}/
-distname ${pkgname}-${version}
conflicts-append mpich2 \
mpich2-devel \
@@ -85,10 +74,6 @@
depends_lib-append port:libxml2
-# Linker for Apple clang version 431.11.66 currently segfaults
-# See https://trac.macports.org/ticket/36654#comment:9
-compiler.blacklist-append {clang >= 421.11.66}
-
platform darwin {
configure.args-append --enable-timer-type=mach_absolute_time
}
@@ -106,35 +91,35 @@
variant gcc47 description {
Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc47 port
-} conflicts gcc43 gcc44 gcc45 gcc46 llvm clang31 {
+} conflicts gcc43 gcc44 gcc45 gcc46 llvm clang clang31 {
depends_lib-append port:gcc47
configure.compiler macports-gcc-4.7
}
variant gcc46 description {
Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc46 port
-} conflicts gcc43 gcc44 gcc45 gcc47 llvm clang31 {
+} conflicts gcc43 gcc44 gcc45 gcc47 llvm clang clang31 {
depends_lib-append port:gcc46
configure.compiler macports-gcc-4.6
}
variant gcc45 description {
Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc45 port
-} conflicts gcc43 gcc44 gcc46 gcc47 llvm clang31 {
+} conflicts gcc43 gcc44 gcc46 gcc47 llvm clang clang31 {
depends_lib-append port:gcc45
configure.compiler macports-gcc-4.5
}
variant gcc44 description {
Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc44 port
-} conflicts gcc43 gcc45 gcc46 gcc47 llvm clang31 {
+} conflicts gcc43 gcc45 gcc46 gcc47 llvm clang clang31 {
depends_lib-append port:gcc44
configure.compiler macports-gcc-4.4
}
variant gcc43 description {
Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43 port
-} conflicts gcc44 gcc45 gcc46 gcc47 llvm clang31 {
+} conflicts gcc44 gcc45 gcc46 gcc47 llvm clang clang31 {
depends_lib-append port:gcc43
configure.compiler macports-gcc-4.3
}
@@ -150,22 +135,19 @@
variant llvm description {
Use Apple-supplied llvm-gcc
-} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 clang31 {
+} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 clang clang31 {
configure.compiler llvm-gcc-4.2
}
-if {[regexp -all -- {\yclang\y} ${compiler.blacklist}] == 0} {
- # Only expose clang variant if not blacklisted
- variant clang description {
- Use Apple-supplied clang
- } conflicts gcc43 gcc44 gcc45 gcc46 gcc47 llvm clang31 {
- configure.compiler clang
- }
+variant clang description {
+ Use Apple-supplied clang
+} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 llvm clang31 {
+ configure.compiler clang
}
variant clang31 description {
Use clang 3.1 from MacPorts
-} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 llvm {
+} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 llvm clang {
depends_lib-append port:clang-3.1
configure.compiler macports-clang-3.1
}
@@ -177,12 +159,16 @@
configure.args-delete --with-pm=hydra
}
-variant tuned description {Build with more optimizations)} {
+variant tuned description {Build with more optimizations} {
configure.args-delete --enable-fast=O2
configure.args-append --enable-fast=all \
MPICHLIB_CFLAGS='-fomit-frame-pointer -O2'
}
+if {${configure.compiler} == "clang"} {
+ configure.env-append ac_cv_tls=none
+}
+
livecheck.type regex
-livecheck.regex ${pkgname}-(\[0-9.pbrc\]+)${extract.suffix}
+livecheck.regex ${name}-(\[0-9.pbrc\]+)${extract.suffix}
livecheck.url ${homepage}downloads/index.php?s=downloads
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121220/77056e86/attachment.html>
More information about the macports-changes
mailing list