aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorColm Donelan <Colm.Donelan@arm.com>2020-06-28 08:16:46 +0100
committerJim Flynn <jim.flynn@arm.com>2020-07-08 23:07:38 +0000
commitaa93d98092e9689f945cc84d368f64e46d1455af (patch)
tree5b9888de07ccacbe875048e8b07d3822876632d2 /cmake
parent05102395216f1bda428fba42e6722d468685c918 (diff)
downloadarmnn-aa93d98092e9689f945cc84d368f64e46d1455af.tar.gz
IVGCVSW-4487 Remove boot/dll.hpp from dynamic backends test.
* Replace the call to boost::dll::program_location() with a cmake variable set at runtime. PROJECT_BINARY_DIR appears to fit the bill. * Fall back to a boost custom CLI to allow it to be user specified. * Add a FAQ entry describing potential problems. * Adding flexibility to GetSharedObjectsTestImpl to cope with sym links in file systems. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: Iccf3f1b0f2911101e1f61bffd73cefba271bbfe2
Diffstat (limited to 'cmake')
-rw-r--r--cmake/GlobalConfig.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
index 2bfca58500..60b6a3dae6 100644
--- a/cmake/GlobalConfig.cmake
+++ b/cmake/GlobalConfig.cmake
@@ -334,6 +334,10 @@ if(ARMNNREF)
add_definitions(-DARMNNREF_ENABLED)
endif()
+# This is the root for the dynamic backend tests to search for dynamic
+# backends. By default it will be the project build directory.
+add_definitions('-DDYNAMIC_BACKEND_BUILD_DIR="${PROJECT_BINARY_DIR}"')
+
# ArmNN dynamic backend
if(DYNAMIC_BACKEND_PATHS)
add_definitions(-DARMNN_DYNAMIC_BACKEND_ENABLED)