summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/pidx/package.py
blob: 81aed62fb1090d16af12641516ca9c2d4afae62b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from spack import *

class Pidx(Package):
    """PIDX Parallel I/O Library.

    PIDX is an efficient parallel I/O library that reads and writes
    multiresolution IDX data files.
    """

    homepage = "http://www.cedmav.com/pidx"

    version('1.0', git='https://github.com/sci-visus/PIDX.git',
            commit='6afa1cf71d1c41263296dc049c8fabaf73c296da')

    depends_on("mpi")

    def install(self, spec, prefix):
        with working_dir('spack-build', create=True):
            cmake('..', *std_cmake_args)
            make()
            make("install")