diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py index 6606feb43e3312..f650e306272c25 100644 --- a/var/spack/repos/builtin/packages/llvm/package.py +++ b/var/spack/repos/builtin/packages/llvm/package.py @@ -617,7 +617,7 @@ class Llvm(CMakePackage, CudaPackage, LlvmDetection, CompilerPackage): patch("sanitizer-platform-limits-posix-xdr-macos.patch", when="@10:14 platform=darwin") - patch("llvm-cmake-modules-FindZ3.patch", when="@14.0.6") + patch("llvm-cmake-modules-FindZ3.patch", level=0, when="@14.0.6") @when("@14:17") def patch(self):