forked from pool/armnn
Christian Goll
331194d69e
- Add compute_cl option, disabled by default since check fails as no openCL are enabled in OBS - Split libarmnn and libarmnnSerializer to separate packages - Add patch to have versionned libs: * armnn-generate-versioned-library.patch - Package versionned libs - Enable NEON backend on AArch64 - Add patch to enable use of shared lib for ComputeLibrary: * 0007-enable-use-of-arm-compute-shared-library.patch - Update to 19.02 - Remove upstreamed patch: * armnn-fix_catching_polymorphic_type.patch - Update to 18.11 - Add patch to fix build: * armnn-fix_catching_polymorphic_type.patch * armnn-fix_boost.patch * armnn-fix_stb_include.patch - Initial version 18.08 OBS-URL: https://build.opensuse.org/request/show/695957 OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/armnn?expand=0&rev=1
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From 38e8e4bc03a4c1ee801f6af50be94ccd971bf3eb Mon Sep 17 00:00:00 2001
|
|
From: Qin Su <qsu@ti.com>
|
|
Date: Tue, 27 Nov 2018 18:15:49 -0500
|
|
Subject: [PATCH] enable use of arm compute shared library
|
|
|
|
Upstream-Status: Inappropriate [configuration]
|
|
|
|
Signed-off-by: Qin Su <qsu@ti.com>
|
|
---
|
|
cmake/GlobalConfig.cmake | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
|
|
index 491d87a..4cf40a2 100644
|
|
--- a/cmake/GlobalConfig.cmake
|
|
+++ b/cmake/GlobalConfig.cmake
|
|
@@ -285,6 +285,11 @@ if(ARMCOMPUTENEON OR ARMCOMPUTECL)
|
|
find_library(ARMCOMPUTE_CORE_LIBRARY_DEBUG NAMES arm_compute_core-static)
|
|
find_library(ARMCOMPUTE_CORE_LIBRARY_RELEASE NAMES arm_compute_core-static)
|
|
|
|
+ find_library(ARMCOMPUTE_LIBRARY_DEBUG NAMES arm_compute)
|
|
+ find_library(ARMCOMPUTE_LIBRARY_RELEASE NAMES arm_compute)
|
|
+ find_library(ARMCOMPUTE_CORE_LIBRARY_DEBUG NAMES arm_compute_core)
|
|
+ find_library(ARMCOMPUTE_CORE_LIBRARY_RELEASE NAMES arm_compute_core)
|
|
+
|
|
set(ARMCOMPUTE_LIBRARIES
|
|
debug ${ARMCOMPUTE_LIBRARY_DEBUG} ${ARMCOMPUTE_CORE_LIBRARY_DEBUG}
|
|
optimized ${ARMCOMPUTE_LIBRARY_RELEASE} ${ARMCOMPUTE_CORE_LIBRARY_RELEASE} )
|
|
--
|
|
1.9.1
|
|
|