diff options
author | Colm Donelan <Colm.Donelan@arm.com> | 2020-06-28 08:16:46 +0100 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2020-07-08 23:07:38 +0000 |
commit | aa93d98092e9689f945cc84d368f64e46d1455af (patch) | |
tree | 5b9888de07ccacbe875048e8b07d3822876632d2 /docs | |
parent | 05102395216f1bda428fba42e6722d468685c918 (diff) | |
download | armnn-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 'docs')
-rw-r--r-- | docs/FAQ.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/FAQ.md b/docs/FAQ.md index 918f4e161a..a4e09d8b7d 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -25,3 +25,7 @@ Adding or removing -Dxxx options when building ArmNN does not always work. --------------------------------------------------------- ArmNN uses CMake for build configuration. CMake uses a cumulative cache of user options. That is, setting a value once on a cmake command line will be persisted until either you explicitly change the value or delete the cache. To delete the cache in ArmNN you must delete the build directory. + +Many DynamicBackendTests fail with "Base path for shared objects does not exist". +--------------------------------------------------------- +This problem most commonly occurs when the compile and runtime environments for the unit tests differ. These dynamic backend tests rely on a set of test files and directories at runtime. These files are created by default during the cmake build. At runtime the tests will look for these files in src/backends/backendsCommon/test/ relative to where the Unittests executable was built. The usual solution to to copy these files and directories into the new unit test execution environment. You can also specify a new root path for these files by adding a command line parameter to the Unittests executable: Unittests -- --dynamic-backend-build-dir "new path" |