summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cityhash/package.py
blob: 1643cc3b4256b355bea76415c0bac64f4ab38f57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from spack import *
from spack.util.environment import *

class Cityhash(Package):
    homepage = "https://github.com/google/cityhash"
    url      = "https://github.com/google/cityhash"

    version('2013-07-31', git='https://github.com/google/cityhash.git', commit='8af9b8c2b889d80c22d6bc26ba0df1afb79a30db')
    version('master', branch='master', git='https://github.com/google/cityhash.git')

    def install(self, spec, prefix):
        configure('--enable-sse4.2', '--prefix=%s' % prefix)

        make()
        make("install")