aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Svantesson <david.svantesson@arm.com>2023-04-24 16:47:04 +0000
committerDavid Svantesson <david.svantesson@arm.com>2023-05-03 10:49:45 +0000
commitb5d6c28d41c4228c5bfaf06e451c21c387b3ce5f (patch)
tree445a1dfe8bbbbac7f3d530c373f700aa7fd49e4a /scripts
parent54e52a9408f874e96d7872d09121f64a001b2c47 (diff)
downloadComputeLibrary-b5d6c28d41c4228c5bfaf06e451c21c387b3ce5f.tar.gz
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 <david.svantesson@arm.com> Change-Id: If65b0cfcca77e2423777b0b901a5b733cfca6bfc Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9501 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: SiCong Li <sicong.li@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generate_build_files.py9
1 files changed, 4 insertions, 5 deletions
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"]