summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-10-07 08:58:56 -0700
committerChristoph Junghans <christoph.junghans@gmail.com>2017-10-07 09:58:56 -0600
commitee6d21e311bbd791f55ce8414ee4dd65add371da (patch)
treec90fdd6a7017c5d3a120c3213b4880390c9b2a4a
parent73bb34ad6e481f5ebcc3623d7f63af87986d3cc7 (diff)
downloadspack-ee6d21e311bbd791f55ce8414ee4dd65add371da.tar.gz
spack-ee6d21e311bbd791f55ce8414ee4dd65add371da.tar.bz2
spack-ee6d21e311bbd791f55ce8414ee4dd65add371da.tar.xz
spack-ee6d21e311bbd791f55ce8414ee4dd65add371da.zip
adding http2 support (#5628)
Requires nghttp2 libraries
-rw-r--r--var/spack/repos/builtin/packages/curl/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/curl/package.py b/var/spack/repos/builtin/packages/curl/package.py
index ec5df4bc5a..110d3e6cd5 100644
--- a/var/spack/repos/builtin/packages/curl/package.py
+++ b/var/spack/repos/builtin/packages/curl/package.py
@@ -33,6 +33,7 @@ class Curl(AutotoolsPackage):
# URL must remain http:// so Spack can bootstrap curl
url = "http://curl.haxx.se/download/curl-7.54.0.tar.bz2"
+ version('7.56.0', 'e0caf257103e0c77cee5be7e9ac66ca4')
version('7.54.0', '89bb7ba87384dfbf4f1a3f953da42458')
version('7.53.1', 'fb1f03a142236840c1a77c035fa4c542')
version('7.52.1', 'dd014df06ff1d12e173de86873f9f77a')
@@ -49,6 +50,7 @@ class Curl(AutotoolsPackage):
depends_on('openssl')
depends_on('zlib')
+ depends_on('nghttp2')
def configure_args(self):
spec = self.spec
@@ -56,4 +58,5 @@ class Curl(AutotoolsPackage):
return [
'--with-zlib={0}'.format(spec['zlib'].prefix),
'--with-ssl={0}'.format(spec['openssl'].prefix),
+ '--with-http2={0}'.format(spec['nghttp2'].prefix),
]