| 1 |
From: Francis Murtagh <[email protected]> |
| 2 |
Date: Tue, 1 Aug 2023 21:39:26 +0200 |
| 3 |
Subject: Use system libarm-compute library |
| 4 |
|
| 5 |
X-Dgit-Generated: 20.08-1 a87ca2399a3379e215d67a6f809a201d88750a16 |
| 6 |
|
| 7 |
Signed-off-by: Francis Murtagh <[email protected]> |
| 8 |
--- |
| 9 |
cmake/GlobalConfig.cmake | 16 ++++++++++++---- |
| 10 |
1 file changed, 12 insertions(+), 4 deletions(-) |
| 11 |
|
| 12 |
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake |
| 13 |
index 2d97899..e413e4f 100644 |
| 14 |
--- a/cmake/GlobalConfig.cmake |
| 15 |
+++ b/cmake/GlobalConfig.cmake |
| 16 |
@@ -325,10 +325,18 @@ if(ARMCOMPUTENEON OR ARMCOMPUTECL) |
| 17 |
|
| 18 |
# In case it wasn't there, try a default search (will work in cases where |
| 19 |
# the library has been installed into a standard location) |
| 20 |
- find_library(ARMCOMPUTE_LIBRARY_DEBUG NAMES arm_compute-static) |
| 21 |
- find_library(ARMCOMPUTE_LIBRARY_RELEASE NAMES arm_compute-static) |
| 22 |
- find_library(ARMCOMPUTE_CORE_LIBRARY_DEBUG NAMES arm_compute_core-static) |
| 23 |
- find_library(ARMCOMPUTE_CORE_LIBRARY_RELEASE NAMES arm_compute_core-static) |
| 24 |
+ #find_library(ARMCOMPUTE_LIBRARY_DEBUG NAMES arm_compute-static) |
| 25 |
+ #find_library(ARMCOMPUTE_LIBRARY_RELEASE NAMES arm_compute-static) |
| 26 |
+ #find_library(ARMCOMPUTE_CORE_LIBRARY_DEBUG NAMES arm_compute_core-static) |
| 27 |
+ #find_library(ARMCOMPUTE_CORE_LIBRARY_RELEASE NAMES arm_compute_core-static) |
| 28 |
+ |
| 29 |
+ # In case it wasn't there, try the dynamic libraries |
| 30 |
+ # This case will get used in a linux setup where the Compute Library |
| 31 |
+ # has been installed in a standard system library path as a dynamic library |
| 32 |
+ find_library(ARMCOMPUTE_LIBRARY_DEBUG NAMES arm_compute) |
| 33 |
+ find_library(ARMCOMPUTE_LIBRARY_RELEASE NAMES arm_compute) |
| 34 |
+ find_library(ARMCOMPUTE_CORE_LIBRARY_DEBUG NAMES arm_compute_core) |
| 35 |
+ find_library(ARMCOMPUTE_CORE_LIBRARY_RELEASE NAMES arm_compute_core) |
| 36 |
|
| 37 |
# In case it wasn't there, try the dynamic libraries |
| 38 |
# This case will get used in a linux setup where the Compute Library |