summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-06-18 13:23:11 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2015-06-18 13:23:11 -0700
commit2bc660e83ca6eeca5c026cdf7f657ed7922bfe41 (patch)
tree984a3620d639e9d5e22e02bb9d3c8a7c08b0fa9c
parent96e213c11016e3f2e976280196f9e6cb0771687e (diff)
parentf832719ceb7907e4213a613e9bb35cda84fa5b26 (diff)
downloadspack-2bc660e83ca6eeca5c026cdf7f657ed7922bfe41.tar.gz
spack-2bc660e83ca6eeca5c026cdf7f657ed7922bfe41.tar.bz2
spack-2bc660e83ca6eeca5c026cdf7f657ed7922bfe41.tar.xz
spack-2bc660e83ca6eeca5c026cdf7f657ed7922bfe41.zip
Merge pull request #70 from alfredo-gimenez/develop
Added silo 4.8 with HDF5 (for LULESH 2.0)
-rw-r--r--var/spack/packages/silo/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/packages/silo/package.py b/var/spack/packages/silo/package.py
new file mode 100644
index 0000000000..9eda11df15
--- /dev/null
+++ b/var/spack/packages/silo/package.py
@@ -0,0 +1,19 @@
+from spack import *
+
+class Silo(Package):
+ """Silo is a library for reading and writing a wide variety of scientific data to binary, disk files."""
+
+ homepage = "http://wci.llnl.gov/simulation/computer-codes/silo"
+ url = "https://wci.llnl.gov/content/assets/docs/simulation/computer-codes/silo/silo-4.8/silo-4.8.tar.gz"
+
+ #version('4.9', 'a83eda4f06761a86726e918fc55e782a')
+ version('4.8', 'b1cbc0e7ec435eb656dc4b53a23663c9')
+
+ depends_on("hdf5@:1.8.12")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix,
+ "--with-hdf5=%s" %spec['hdf5'].prefix)
+
+ make()
+ make("install")