diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2022-06-27 23:05:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-28 00:05:00 -0600 |
commit | 7dba08bd8370c2f3ece7bb2cdd86c30d02db17a5 (patch) | |
tree | 0965b335a92540a47293abb4fd80bf7f4b742fcb /var | |
parent | c533bbdfb002a81fe7a5934fb5de4d6dc493180d (diff) | |
download | spack-7dba08bd8370c2f3ece7bb2cdd86c30d02db17a5.tar.gz spack-7dba08bd8370c2f3ece7bb2cdd86c30d02db17a5.tar.bz2 spack-7dba08bd8370c2f3ece7bb2cdd86c30d02db17a5.tar.xz spack-7dba08bd8370c2f3ece7bb2cdd86c30d02db17a5.zip |
thrift: add v0.16.0 (#31302)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/thrift/package.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/thrift/package.py b/var/spack/repos/builtin/packages/thrift/package.py index 722f8c0e15..d5f15877ae 100644 --- a/var/spack/repos/builtin/packages/thrift/package.py +++ b/var/spack/repos/builtin/packages/thrift/package.py @@ -18,8 +18,11 @@ class Thrift(Package): """ homepage = "https://thrift.apache.org" - url = "http://apache.mirrors.ionfish.org/thrift/0.11.0/thrift-0.11.0.tar.gz" + url = "http://archive.apache.org/dist/thrift/0.16.0/thrift-0.16.0.tar.gz" + list_url = "http://archive.apache.org/dist/thrift/" + list_depth = 1 + version('0.16.0', sha256='f460b5c1ca30d8918ff95ea3eb6291b3951cf518553566088f3f2be8981f6209') version('0.13.0', sha256='7ad348b88033af46ce49148097afe354d513c1fca7c607b59c33ebb6064b5179') version('0.12.0', sha256='c336099532b765a6815173f62df0ed897528a9d551837d627c1f87fadad90428') version('0.11.0', sha256='c4ad38b6cb4a3498310d405a91fef37b9a8e79a50cd0968148ee2524d2fa60c2') @@ -64,6 +67,10 @@ class Thrift(Package): depends_on('zlib', when='+c') depends_on('libevent', when='+c') + patch('https://github.com/apache/thrift/pull/2511.patch?full_index=1', + sha256='8523c97eccb31b084241b4061db830c4ef940042b37ba8ddfdcdd23d92325b89', + when='@0.16.0') + def setup_build_environment(self, env): if '+pic' in self.spec: env.append_flags('CFLAGS', self.compiler.cc_pic_flag) |