From 7e0dfa270fcf1fed7f6e0513efa1120864c4fa9a Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 19 Jun 2023 06:15:01 -0400 Subject: [PATCH] spdlog: patch for fmt::basic_runtime when ^fmt@10 (#38082) --- var/spack/repos/builtin/packages/spdlog/package.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/var/spack/repos/builtin/packages/spdlog/package.py b/var/spack/repos/builtin/packages/spdlog/package.py index b80ac49455..de933739bb 100644 --- a/var/spack/repos/builtin/packages/spdlog/package.py +++ b/var/spack/repos/builtin/packages/spdlog/package.py @@ -60,6 +60,13 @@ class Spdlog(CMakePackage): depends_on("fmt@8:", when="@1.9: +fmt_external") depends_on("fmt@9:", when="@1.11: +fmt_external") + # spdlog@1.11.0 with fmt@10 https://github.com/gabime/spdlog/pull/2694 + patch( + "https://github.com/gabime/spdlog/commit/0ca574ae168820da0268b3ec7607ca7b33024d05.patch?full_index=1", + sha256="31b22a9bfa6790fdabff186c0a9b0fd588439485f05cbef5e661231d15fec49b", + when="@1.11.0 +fmt_external ^fmt@10:", + ) + def cmake_args(self): args = []