summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cityhash/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/cityhash/package.py')
-rw-r--r--var/spack/repos/builtin/packages/cityhash/package.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cityhash/package.py b/var/spack/repos/builtin/packages/cityhash/package.py
new file mode 100644
index 0000000000..1643cc3b42
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cityhash/package.py
@@ -0,0 +1,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")
+