aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJan Eilers <jan.eilers@arm.com>2021-12-08 10:05:47 +0000
committerKeith Davis <keith.davis@arm.com>2022-06-29 10:04:20 +0100
commita96489a2fd459bd3d73297fa5fdaef5d13a57a4e (patch)
tree2299402be2854c1bd508f57a35edc5c9059961f6 /cmake
parent764ac655bd301ffc8cde4c912e67499954f9ef8f (diff)
downloadarmnn-a96489a2fd459bd3d73297fa5fdaef5d13a57a4e.tar.gz
Add jni interface for the ArmNN Delegate
* adds a version script to hide away all symbols that are not required to use the interface * the main purpose of the jni interface is to enable the delegate to be used in android apps * Add static building to patch - see patch 7 for JNI patch only Signed-off-by: Jan Eilers <jan.eilers@arm.com> Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I9bb2d698b5fdb0d1b30cf79e6f19746310cd61b2
Diffstat (limited to 'cmake')
-rw-r--r--cmake/GlobalConfig.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
index a5c17d5749..d5cdca2b56 100644
--- a/cmake/GlobalConfig.cmake
+++ b/cmake/GlobalConfig.cmake
@@ -35,6 +35,9 @@ option(BUILD_PIPE_ONLY "Build the PIPE libraries only" OFF)
option(BUILD_ARMNN_TFLITE_DELEGATE "Build the Arm NN TfLite delegate" OFF)
option(BUILD_MEMORY_STRATEGY_BENCHMARK "Build the MemoryBenchmark" OFF)
option(BUILD_BARE_METAL "Disable features requiring operating system support" OFF)
+option(BUILD_SHARED_LIBS "Determines if Armnn will be built statically or dynamically.
+ This is an experimental feature and not fully supported.
+ Only the ArmNN core and the Delegate can be built statically." ON)
include(SelectLibraryConfigurations)