aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2021-02-12 12:29:26 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-02-15 12:52:57 +0000
commit65d04488b6eefa5f9b4bf752a8134b987086e57e (patch)
tree45818a61898d0874aee8aa3ee7bbd0adde267c4f
parentd5112700d2f5673d9151338f4861c50b019552ef (diff)
downloadComputeLibrary-65d04488b6eefa5f9b4bf752a8134b987086e57e.tar.gz
Adding Android S option
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I1c34226005216fbdf0b037ccbb7cc3ceb1de24a3 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5061 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Sang-Hoon Park <sang-hoon.park@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
-rw-r--r--scripts/arm_compute_library_nn_driver.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/arm_compute_library_nn_driver.go b/scripts/arm_compute_library_nn_driver.go
index d573c6a14a..61c8b992cf 100644
--- a/scripts/arm_compute_library_nn_driver.go
+++ b/scripts/arm_compute_library_nn_driver.go
@@ -14,11 +14,9 @@ import (
func globalFlags(ctx android.BaseContext) []string {
var cppflags []string
- if ctx.AConfig().PlatformVersionName() == "Q" || ctx.AConfig().PlatformVersionName() == "10" {
- cppflags = append(cppflags, "-fno-addrsig")
- }
-
- if ctx.AConfig().PlatformVersionName() == "R" || ctx.AConfig().PlatformVersionName() == "11" {
+ if ctx.AConfig().PlatformVersionName() == "Q" || ctx.AConfig().PlatformVersionName() == "10" ||
+ ctx.AConfig().PlatformVersionName() == "R" || ctx.AConfig().PlatformVersionName() == "11" ||
+ ctx.AConfig().PlatformVersionName() == "S" || ctx.AConfig().PlatformVersionName() == "12" {
cppflags = append(cppflags, "-fno-addrsig")
}