summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDarren Bolduc <dbolduc@google.com>2024-11-04 14:50:54 -0500
committerGitHub <noreply@github.com>2024-11-04 11:50:54 -0800
commit6924c530e2a619801efcc5b5c29b9fa945876049 (patch)
treefa35f87078372050681b4e14c5afccea5d92b358 /var
parent38c8069ab42f44aa9f4779968937fc6842dc2109 (diff)
downloadspack-6924c530e2a619801efcc5b5c29b9fa945876049.tar.gz
spack-6924c530e2a619801efcc5b5c29b9fa945876049.tar.bz2
spack-6924c530e2a619801efcc5b5c29b9fa945876049.tar.xz
spack-6924c530e2a619801efcc5b5c29b9fa945876049.zip
google-cloud-cpp: add v2.29.0, v2.30.0 (#47146)
* google-cloud-cpp: add v2.29.0; fix cxx-std versions * d'oh, single value for the variant
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/google-cloud-cpp/package.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/google-cloud-cpp/package.py b/var/spack/repos/builtin/packages/google-cloud-cpp/package.py
index 7a477505cc..e66aedae3f 100644
--- a/var/spack/repos/builtin/packages/google-cloud-cpp/package.py
+++ b/var/spack/repos/builtin/packages/google-cloud-cpp/package.py
@@ -18,6 +18,8 @@ class GoogleCloudCpp(CMakePackage):
sanity_check_is_dir = ["lib", "include"]
+ version("2.30.0", sha256="170650b11ece54977b42dd85be648b6bd2d614ff68ea6863a0013865e576b49c")
+ version("2.29.0", sha256="758e1eca8186b962516c0659b34ce1768ba1c9769cfd998c5bbffb084ad901ff")
version("2.28.0", sha256="1d51910cb4419f6100d8b9df6bccd33477d09f50e378f12b06dae0f137ed7bc6")
depends_on("abseil-cpp")
@@ -30,11 +32,17 @@ class GoogleCloudCpp(CMakePackage):
variant("shared", default=False, description="Build shared instead of static libraries")
variant(
"cxxstd",
- default="11",
- values=("11", "14", "17", "20"),
+ default="14",
+ values=("14", "17", "20"),
multi=False,
description="Use the specified C++ standard when building.",
)
+ variant(
+ "libraries",
+ default="__ga_libraries__",
+ multi=False,
+ description="Which client libraries to build/install. e.g. libraries=bigtable,storage",
+ )
def cmake_args(self):
args = [
@@ -43,6 +51,6 @@ class GoogleCloudCpp(CMakePackage):
"-DBUILD_TESTING:Bool=OFF",
"-DGOOGLE_CLOUD_CPP_WITH_MOCKS:Bool=OFF",
"-DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES:Bool=OFF",
- "-DGOOGLE_CLOUD_CPP_ENABLE:String=__ga_libraries__",
+ self.define_from_variant("GOOGLE_CLOUD_CPP_ENABLE", "libraries"),
]
return args