From 568700c9185998c42dbe0b3bb355bffecaac1740 Mon Sep 17 00:00:00 2001 From: Danilo Piparo <danilo.piparo@cern.ch> Date: Tue, 28 Aug 2018 21:22:04 +0200 Subject: [PATCH] [Build] Use lists instead of tuples of black/white listed directories --- build/unix/makepchinput.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/unix/makepchinput.py b/build/unix/makepchinput.py index 73340ff46e1..ab047db7e4d 100755 --- a/build/unix/makepchinput.py +++ b/build/unix/makepchinput.py @@ -229,7 +229,7 @@ def isDirForPCH(dirName): Check if the directory corresponds to a module whose headers must belong to the PCH """ - PCHPatternsWhitelist = ("interpreter/", + PCHPatternsWhitelist = ["interpreter/", "core/", "io/io", "net/net", @@ -246,8 +246,8 @@ def isDirForPCH(dirName): "bindings/pyroot", "roofit/", "tmva", - "main") - PCHPatternsBlacklist = ("graf2d/qt", + "main"] + PCHPatternsBlacklist = ["graf2d/qt", "gui/guihtml", "gui/guibuilder", "math/fftw", @@ -259,7 +259,7 @@ def isDirForPCH(dirName): "math/splot", "math/unuran", "math/vdt", - "tmva/rmva") + "tmva/rmva"] accepted = isAnyPatternInString(PCHPatternsWhitelist,dirName) and \ not isAnyPatternInString(PCHPatternsBlacklist,dirName) -- GitLab