aboutsummaryrefslogtreecommitdiff
path: root/BUILD.bazel
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 /BUILD.bazel
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 'BUILD.bazel')
-rw-r--r--BUILD.bazel14
1 files changed, 7 insertions, 7 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
index d246336c29..f897a1a6aa 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -192,7 +192,7 @@ cc_library(
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 @@ cc_library(
}),
visibility = ["//visibility:public"],
deps = [
- "arm_compute",
+ "arm_compute_core",
"//:common_defines",
"//arm_compute:graph_headers",
],
@@ -225,7 +225,7 @@ cc_library(
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 @@ cc_library(
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 @@ cc_library(
# 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 @@ cc_library(
"//: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",