diff options
author | Wouter Deconinck <wdconinc@gmail.com> | 2024-07-15 10:09:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-15 17:09:21 +0200 |
commit | bf9b6940c9622f729802a8631ead6985248f4fd0 (patch) | |
tree | 68ce878607404aee8fbbfdaf71c8ef3a5656832f | |
parent | 22980b9e6501d6ab5f10b0713e0ec496bd1f2bfb (diff) | |
download | spack-bf9b6940c9622f729802a8631ead6985248f4fd0.tar.gz spack-bf9b6940c9622f729802a8631ead6985248f4fd0.tar.bz2 spack-bf9b6940c9622f729802a8631ead6985248f4fd0.tar.xz spack-bf9b6940c9622f729802a8631ead6985248f4fd0.zip |
abseil-cpp: patch to avoid googletest build dependency (#45103)
-rw-r--r-- | var/spack/repos/builtin/packages/abseil-cpp/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/abseil-cpp/package.py b/var/spack/repos/builtin/packages/abseil-cpp/package.py index 59c842d651..c8c081bf1c 100644 --- a/var/spack/repos/builtin/packages/abseil-cpp/package.py +++ b/var/spack/repos/builtin/packages/abseil-cpp/package.py @@ -66,6 +66,13 @@ class AbseilCpp(CMakePackage): version("20181200", sha256="e2b53bfb685f5d4130b84c4f3050c81bf48c497614dc85d91dbd3ed9129bce6d") version("20180600", sha256="794d483dd9a19c43dc1fbbe284ce8956eb7f2600ef350dac4c602f9b4eb26e90") + # Avoid export of testonly target absl::test_allocator in CMake builds + patch( + "https://github.com/abseil/abseil-cpp/commit/779a3565ac6c5b69dd1ab9183e500a27633117d5.patch?full_index=1", + sha256="14ad7abbc20b10d57e00d0940e8338f69fd69f58d8285214848998e8687688cc", + when="@20240116", + ) + variant("shared", default=True, description="Build shared instead of static libraries") conflicts("+shared", when="@:20190808") |