summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAbhishek Kulkarni <adkulkar@indiana.edu>2016-01-29 00:32:34 -0500
committerAbhishek Kulkarni <adkulkar@indiana.edu>2016-01-29 00:32:34 -0500
commit5907cc0de5d60b0266a04299cc560bead8edd05c (patch)
tree9ae0d8360af34efe7c65bee9f293384d6f2302d7 /var
parent2bea7f8d69064f893a21cfc53f3d781b572e2f79 (diff)
parent9fb5ddbb4c4b2dc90027deb24ec4721018ebd3ae (diff)
downloadspack-5907cc0de5d60b0266a04299cc560bead8edd05c.tar.gz
spack-5907cc0de5d60b0266a04299cc560bead8edd05c.tar.bz2
spack-5907cc0de5d60b0266a04299cc560bead8edd05c.tar.xz
spack-5907cc0de5d60b0266a04299cc560bead8edd05c.zip
Merge remote-tracking branch 'upstream/develop' into develop
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/caliper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/m4/package.py13
-rw-r--r--var/spack/repos/builtin/packages/parallel-netcdf/package.py20
3 files changed, 34 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/caliper/package.py b/var/spack/repos/builtin/packages/caliper/package.py
index b14a562aa8..d51b4a4dd5 100644
--- a/var/spack/repos/builtin/packages/caliper/package.py
+++ b/var/spack/repos/builtin/packages/caliper/package.py
@@ -10,7 +10,7 @@ class Caliper(Package):
homepage = "https://github.com/LLNL/Caliper"
url = ""
- version('master', git='ssh://git@cz-stash.llnl.gov:7999/piper/caliper.git')
+ version('master', git='ssh://git@github.com:LLNL/Caliper.git')
variant('mpi', default=False, description='Enable MPI function wrappers.')
diff --git a/var/spack/repos/builtin/packages/m4/package.py b/var/spack/repos/builtin/packages/m4/package.py
new file mode 100644
index 0000000000..5d76d8866b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/m4/package.py
@@ -0,0 +1,13 @@
+from spack import *
+
+class M4(Package):
+ """GNU M4 is an implementation of the traditional Unix macro processor."""
+ homepage = "https://www.gnu.org/software/m4/m4.html"
+ url = "ftp://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz"
+
+ version('1.4.17', 'a5e9954b1dae036762f7b13673a2cf76')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")
diff --git a/var/spack/repos/builtin/packages/parallel-netcdf/package.py b/var/spack/repos/builtin/packages/parallel-netcdf/package.py
new file mode 100644
index 0000000000..62a8f7ca0b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/parallel-netcdf/package.py
@@ -0,0 +1,20 @@
+from spack import *
+
+class ParallelNetcdf(Package):
+ """Parallel netCDF (PnetCDF) is a library providing high-performance
+ parallel I/O while still maintaining file-format compatibility with
+ Unidata's NetCDF."""
+
+ homepage = "https://trac.mcs.anl.gov/projects/parallel-netcdf"
+ url = "http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/parallel-netcdf-1.6.1.tar.gz"
+
+ version('1.6.1', '62a094eb952f9d1e15f07d56e535052604f1ac34')
+
+ depends_on("m4")
+ depends_on("mpi")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix,
+ "--with-mpi=%s" % spec['mpi'].prefix)
+ make()
+ make("install")