Add cleanup comments in SConscript
Resolves: COMPMID-5151
Signed-off-by: Giorgio Arena <giorgio.arena@arm.com>
Change-Id: Ia5d7e4910bfe219cc13241615abc54ac886016b9
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7270
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: SiCong Li <sicong.li@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
diff --git a/SConscript b/SConscript
index 342c79c..dd0f148 100644
--- a/SConscript
+++ b/SConscript
@@ -172,6 +172,8 @@
for line in tmp_file:
found = pattern.search(line)
if found:
+ # Only get the header file name and discard the relative path.
+ # E.g. "common/experimental/gemm_fused_post_ops/fp_mixed_precision_helpers.h" -> "fp_mixed_precision_helpers.h"
include_file = found.group(1).split('/')[-1]
data = files_dict[include_file].file_contents
updated_file.extend(data)
@@ -495,6 +497,7 @@
# Dynamic fusion
if env['experimental_dynamic_fusion']:
if env['embed_kernels']:
+ # COMPMID-5176
print("Dynamic fusion with embed_kernels=1 not supported. Skipping.")
else:
lib_files += filelist['experimental']['dynamic_fusion']