summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2017-04-06 21:33:19 +0200
committerMassimiliano Culpo <massimiliano.culpo@googlemail.com>2017-04-06 21:33:19 +0200
commitf31a38532f107460e788f8a14f3e7751d6887cfa (patch)
treeff0bd4807696df10db909533a54a17cf8f0ce53f /var
parent95e401fe80b009f78b3eae5b5cd268fca2fc87c4 (diff)
downloadspack-f31a38532f107460e788f8a14f3e7751d6887cfa.tar.gz
spack-f31a38532f107460e788f8a14f3e7751d6887cfa.tar.bz2
spack-f31a38532f107460e788f8a14f3e7751d6887cfa.tar.xz
spack-f31a38532f107460e788f8a14f3e7751d6887cfa.zip
libSplash & PNGwriter: CMakePackage (#3739)
Use new CMakePackage base class
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libsplash/package.py10
-rw-r--r--var/spack/repos/builtin/packages/pngwriter/package.py10
2 files changed, 2 insertions, 18 deletions
diff --git a/var/spack/repos/builtin/packages/libsplash/package.py b/var/spack/repos/builtin/packages/libsplash/package.py
index c87dae19be..eb302e596b 100644
--- a/var/spack/repos/builtin/packages/libsplash/package.py
+++ b/var/spack/repos/builtin/packages/libsplash/package.py
@@ -25,7 +25,7 @@
from spack import *
-class Libsplash(Package):
+class Libsplash(CMakePackage):
"""libSplash aims at developing a HDF5-based I/O library for HPC
simulations. It is created as an easy-to-use frontend for the standard HDF5
library with support for MPI processes in a cluster environment. While the
@@ -54,11 +54,3 @@ class Libsplash(Package):
depends_on('hdf5@1.8.6:')
depends_on('hdf5+mpi', when='+mpi')
depends_on('mpi', when='+mpi')
-
- def install(self, spec, prefix):
- with working_dir('spack-build', create=True):
- cmake('-DCMAKE_INSTALL_PREFIX=%s' % prefix,
- '..', *std_cmake_args)
-
- make()
- make('install')
diff --git a/var/spack/repos/builtin/packages/pngwriter/package.py b/var/spack/repos/builtin/packages/pngwriter/package.py
index 6a34ab5abf..2950129765 100644
--- a/var/spack/repos/builtin/packages/pngwriter/package.py
+++ b/var/spack/repos/builtin/packages/pngwriter/package.py
@@ -25,7 +25,7 @@
from spack import *
-class Pngwriter(Package):
+class Pngwriter(CMakePackage):
"""PNGwriter is a very easy to use open source graphics library that uses
PNG as its output format. The interface has been designed to be as simple
and intuitive as possible. It supports plotting and reading pixels in the
@@ -49,11 +49,3 @@ class Pngwriter(Package):
depends_on('libpng')
depends_on('zlib')
depends_on('freetype')
-
- def install(self, spec, prefix):
- with working_dir('spack-build', create=True):
- cmake('-DCMAKE_INSTALL_PREFIX=%s' % prefix,
- '..', *std_cmake_args)
-
- make()
- make('install')