From b5d6c28d41c4228c5bfaf06e451c21c387b3ce5f Mon Sep 17 00:00:00 2001 From: David Svantesson Date: Mon, 24 Apr 2023 16:47:04 +0000 Subject: Bazel and CMake updates Updates to CMake and Bazel builds addressing: * Cmake options are named too generic * Use CMAKE_CXX_FLAGS_DEBUG instead of DEBUG option * Option to disable tests * Bazel: rename "arm_compute" to "arm_compute_core" Resolves: ONCPUML-1252 Signed-off-by: David Svantesson Change-Id: If65b0cfcca77e2423777b0b901a5b733cfca6bfc Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9501 Tested-by: Arm Jenkins Reviewed-by: SiCong Li Comments-Addressed: Arm Jenkins Benchmark: Arm Jenkins --- scripts/generate_build_files.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'scripts/generate_build_files.py') diff --git a/scripts/generate_build_files.py b/scripts/generate_build_files.py index 0e639bf17e..beb32d06b8 100644 --- a/scripts/generate_build_files.py +++ b/scripts/generate_build_files.py @@ -149,7 +149,7 @@ filegroup( ) filegroup( - name = "arm_compute_srcs", + name = "arm_compute_core_srcs", srcs = ["{line_separator.join(srcs_core)}"] + glob(["**/*.h", "**/*.hpp", @@ -189,8 +189,7 @@ target_sources( arm_compute_core PRIVATE {line_separator.join(srcs_core)} -) - """ +)""" return template @@ -232,8 +231,8 @@ def gather_sources(): # Get attributes data_types = ["qasymm8", "qasymm8_signed", "qsymm16", - "fp16", "fp32", "integer"] # Are all needed? - data_layouts = ["nhwc", "nchw"] # Are both needed? + "fp16", "fp32", "integer"] + data_layouts = ["nhwc", "nchw"] fixed_format_kernels = ["fixed_format_kernels"] attrs = data_types + data_layouts + \ fixed_format_kernels + ["estate64"] -- cgit v1.2.1