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

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

    homepage = "http://www.cedmav.com/pidx"
    #url      = "http://www.example.com/pidx-1.0.tar.gz"

    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")