fix: cl_cache - add cm header includes to whitelist

This patch adds following includes to the whitelist:
<cm/cm.h>
<cm/cmtl.h>

Related-To: NEO-13641
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
This commit is contained in:
Fabian Zwoliński
2025-01-20 15:39:41 +00:00
committed by Compute-Runtime-Automation
parent 0bc86c83b6
commit 285414e852
3 changed files with 7 additions and 3 deletions

View File

@@ -764,6 +764,8 @@ bool CompilerCacheHelper::validateIncludes(const ArrayRef<const char> source, co
return true;
}
CompilerCacheHelper::WhitelistedIncludesVec CompilerCacheHelper::whitelistedIncludes{};
CompilerCacheHelper::WhitelistedIncludesVec CompilerCacheHelper::whitelistedIncludes{
"#include <cm/cm.h>",
"#include <cm/cmtl.h>"};
} // namespace NEO