From ef0fb97fe49ba199f253187a44291e83b439fdbd Mon Sep 17 00:00:00 2001 From: Gustavo Jose de Sousa Date: Mon, 25 Jul 2016 16:44:20 -0300 Subject: [PATCH] waf: reduce scope of ant_glob() patterns And reduce pre-build execution time. --- wscript | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/wscript b/wscript index b3d7164275..0167c248bc 100644 --- a/wscript +++ b/wscript @@ -266,8 +266,9 @@ def _build_recursion(bld): '*', 'Tools/*', 'libraries/*/examples/*', - '**/tests', - '**/benchmarks', + 'libraries/*/tests', + 'libraries/*/utility/tests', + 'libraries/*/benchmarks', ] common_dirs_excl = [ @@ -277,8 +278,8 @@ def _build_recursion(bld): ] hal_dirs_patterns = [ - 'libraries/%s/**/tests', - 'libraries/%s/**/benchmarks', + 'libraries/%s/*/tests', + 'libraries/%s/*/benchmarks', 'libraries/%s/examples/*', ]