From a96489a2fd459bd3d73297fa5fdaef5d13a57a4e Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Wed, 8 Dec 2021 10:05:47 +0000 Subject: 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 Signed-off-by: Keith Davis Change-Id: I9bb2d698b5fdb0d1b30cf79e6f19746310cd61b2 --- cmake/GlobalConfig.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmake') 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) -- cgit v1.2.1