From 487df807cc83e2129f2e1f2e45019fd143d68242 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Tue, 4 Mar 2025 15:35:47 -0600 Subject: [PATCH] veccore: add typo fix for clang (#49288) * veccore: add typo for clang * veccore: apply ScalarWrapper.h patch for all compilers --------- Co-authored-by: Joseph C Wang --- var/spack/repos/builtin/packages/veccore/package.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/var/spack/repos/builtin/packages/veccore/package.py b/var/spack/repos/builtin/packages/veccore/package.py index a5e1d931b0e..6fb39d874b0 100644 --- a/var/spack/repos/builtin/packages/veccore/package.py +++ b/var/spack/repos/builtin/packages/veccore/package.py @@ -39,6 +39,13 @@ class Veccore(CMakePackage): variant("vc", default=False, description="Enable Vc backend") + # Fix a typo in ScalarWrapper.h + patch( + "https://github.com/root-project/veccore/commit/247b9c6bd48a26b298a73683bb6015b08829ca70.patch?full_index=1", + sha256="7ea1b7ade302201fefe0b460ed32e86c39f241e4554e77e19c144985339e47f9", + when="@:0.8.1", + ) + depends_on("cmake@3.16:", type="build", when="@0.8.1:") depends_on("vc@1.2.0:", when="@0.2.0: +vc") depends_on("vc@1.3.3:", when="@0.6.0: +vc")