From 9ed941b7d65b2f2f763d31e9545580af2dad5415 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Thu, 7 Nov 2024 17:15:54 +0100 Subject: [PATCH] drop heuristic in find_all_headers --- lib/spack/llnl/util/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/llnl/util/filesystem.py b/lib/spack/llnl/util/filesystem.py index 90b0f5c2b5e..9f1591541bc 100644 --- a/lib/spack/llnl/util/filesystem.py +++ b/lib/spack/llnl/util/filesystem.py @@ -2195,7 +2195,7 @@ def find_all_headers(root): Returns: List of all headers found in ``root`` and subdirectories. """ - return find_headers("*", root=root, recursive=True) + return find_headers("*", root=root, recursive=True, heuristic=False, max_depth=sys.maxsize) class LibraryList(FileList):