diff options
author | Federico Ficarelli <federico.ficarelli@gmail.com> | 2020-04-15 18:32:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 11:32:08 -0500 |
commit | 94aa368af8d72278715e3a56d6cd8a7704f873b0 (patch) | |
tree | 2813a4f6c5dc9c7059d1781b4aebde0242a15f83 /var | |
parent | 6eee7b6bb876bb06d936603b4a4bb65a71320d36 (diff) | |
download | spack-94aa368af8d72278715e3a56d6cd8a7704f873b0.tar.gz spack-94aa368af8d72278715e3a56d6cd8a7704f873b0.tar.bz2 spack-94aa368af8d72278715e3a56d6cd8a7704f873b0.tar.xz spack-94aa368af8d72278715e3a56d6cd8a7704f873b0.zip |
Fix grcp@1.27.0: (#16052)
Current default version was missing a dependency.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/grpc/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/grpc/package.py b/var/spack/repos/builtin/packages/grpc/package.py index 8cbfe77328..7996a6865b 100644 --- a/var/spack/repos/builtin/packages/grpc/package.py +++ b/var/spack/repos/builtin/packages/grpc/package.py @@ -8,6 +8,8 @@ from spack import * class Grpc(CMakePackage): """A high performance, open-source universal RPC framework.""" + maintainers = ['nazavode'] + homepage = "https://grpc.io" url = "https://github.com/grpc/grpc/archive/v1.27.0.tar.gz" @@ -25,6 +27,7 @@ class Grpc(CMakePackage): depends_on('openssl') depends_on('zlib') depends_on('c-ares') + depends_on('abseil-cpp', when='@1.27.0:') def cmake_args(self): args = [ @@ -44,4 +47,6 @@ class Grpc(CMakePackage): '-DgRPC_GFLAGS_PROVIDER:String=none', '-DgRPC_BENCHMARK_PROVIDER:String=none', ] + if self.spec.satisfies('@1.27.0:'): + args.append('-DgRPC_ABSL_PROVIDER:String=package') return args |