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>
diff --git a/BUILD.bazel b/BUILD.bazel
index d246336..f897a1a 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -192,7 +192,7 @@
     name = "arm_compute_graph",
     srcs = ["//src:arm_compute_graph_srcs"],
     copts = [
-                "-march=armv8.2-a+fp16",  # What arch is it we should go for here?
+                "-march=armv8.2-a+fp16",
             ] + select({
                 "//:debug_flag": [
                     "-O0",
@@ -211,7 +211,7 @@
             }),
     visibility = ["//visibility:public"],
     deps = [
-        "arm_compute",
+        "arm_compute_core",
         "//:common_defines",
         "//arm_compute:graph_headers",
     ],
@@ -225,7 +225,7 @@
     name = "arm_compute_sve2",
     srcs = ["//src:arm_compute_sve2_srcs"],
     copts = [
-                "-march=armv8.6-a+sve2+fp16+dotprod",  # What arch is it we should go for here?
+                "-march=armv8.6-a+sve2+fp16+dotprod",
             ] + select({
                 "//:debug_flag": [
                     "-O0",
@@ -276,7 +276,7 @@
     name = "arm_compute_sve",
     srcs = ["//src:arm_compute_sve_srcs"],
     copts = [
-                "-march=armv8.2-a+sve+fp16+dotprod",  # What arch is it we should go for here?
+                "-march=armv8.2-a+sve+fp16+dotprod",
             ] + select({
                 "//:debug_flag": [
                     "-O0",
@@ -323,8 +323,8 @@
 # Core and Runtime library
 
 cc_library(
-    name = "arm_compute",
-    srcs = ["//src:arm_compute_srcs"],
+    name = "arm_compute_core",
+    srcs = ["//src:arm_compute_core_srcs"],
     hdrs = glob([
         "core/NEON/kernels/**/*.h",
         "core/NEON/kernels/**/*.hpp",
@@ -333,7 +333,7 @@
         "//:create_version_file",
     ],
     copts = [
-                "-march=armv8.2-a+fp16",  # What arch is it we should go for here?
+                "-march=armv8.2-a+fp16",
             ] + select({
                 "//:debug_flag": [
                     "-O0",