Update zstd version (#4873)
* Update zstd version * Change order of versions * Use MakefilePackage
This commit is contained in:
parent
2b792f943f
commit
1d1a0e3d63
@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class Zstd(Package):
|
||||
class Zstd(MakefilePackage):
|
||||
"""Zstandard, or zstd as short version, is a fast lossless compression
|
||||
algorithm, targeting real-time compression scenarios at zlib-level and
|
||||
better compression ratios."""
|
||||
@ -33,10 +33,8 @@ class Zstd(Package):
|
||||
homepage = "http://facebook.github.io/zstd/"
|
||||
url = "https://github.com/facebook/zstd/archive/v1.1.2.tar.gz"
|
||||
|
||||
version('1.3.0', '888660a850e33c2dcc7c4f9d0b04d347')
|
||||
version('1.1.2', '4c57a080d194bdaac83f2d3251fc7ffc')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make()
|
||||
if self.run_tests:
|
||||
make('test')
|
||||
make('install', 'PREFIX={0}'.format(prefix))
|
||||
|
Loading…
Reference in New Issue
Block a user