diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2022-03-24 14:23:07 +0000 |
---|---|---|
committer | ramelg01 <ramy.elgammal@arm.com> | 2022-03-28 15:24:18 +0100 |
commit | b83e67238bf84c5780f9d27c87cf30342099b291 (patch) | |
tree | ae255799924bc3b0ba54f9169e462f9c07a87853 /examples/neon_sgemm.cpp | |
parent | bfd10a1a766831fedc3a2991e70dfe388ebeb422 (diff) | |
download | ComputeLibrary-b83e67238bf84c5780f9d27c87cf30342099b291.tar.gz |
Enable -static-openmp for newer NDK support
Android NDKs >= r21 need the '-static-openmp' flag enabled when using openmp.
The check on the NDK version is performed by querying the compiler binary's clang version.
NDK versions <= r20 use clang 8 and below. Versions >= r21 use clang 9 and above
Resolves: COMPMID-5052
Signed-off-by: Giorgio Arena <giorgio.arena@arm.com>
Change-Id: I910f8d7a0a59866c06b16c1a856ea877bcbd7ad6
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7344
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
(cherry picked from commit 444b43a55bab37fa6dc8628c6283e54e422db3ad)
Diffstat (limited to 'examples/neon_sgemm.cpp')
0 files changed, 0 insertions, 0 deletions