diff options
author | Ryan OShea <ryan.oshea3@arm.com> | 2023-04-03 11:33:33 +0100 |
---|---|---|
committer | ryan.oshea3 <ryan.oshea3@arm.com> | 2023-04-05 19:32:12 +0000 |
commit | ac9607f401dc30003aa97bd179a06d6b8a32139f (patch) | |
tree | 8d76d45aab577c61028c71b12c2368b559a30ea4 /delegate/CMakeLists.txt | |
parent | 35fedc5b0b86d7f8afc84614b1489771e2e39283 (diff) | |
download | armnn-ac9607f401dc30003aa97bd179a06d6b8a32139f.tar.gz |
IVGCVSW-7560 Implement Armnn Subgraph in Opaque Delegate
* Implement Armnn Subgraph methods in opaque armnn_delegate.cpp
* Temporarily remove opaque delegate from DelegateUnitTests
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: I43557eb0b96a22c896890593a3ed9ca9744994bb
Diffstat (limited to 'delegate/CMakeLists.txt')
-rw-r--r-- | delegate/CMakeLists.txt | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/delegate/CMakeLists.txt b/delegate/CMakeLists.txt index d35fd4e7b6..433cee6743 100644 --- a/delegate/CMakeLists.txt +++ b/delegate/CMakeLists.txt @@ -120,7 +120,7 @@ if (BUILD_OPAQUE_DELEGATE) set_target_properties(armnnOpaqueDelegate PROPERTIES VERSION ${OPAQUE_DELEGATE_LIB_VERSION} SOVERSION ${OPAQUE_DELEGATE_LIB_SOVERSION}) endif() -if(BUILD_UNIT_TESTS) +if(BUILD_UNIT_TESTS AND BUILD_CLASSIC_DELEGATE) set(armnnDelegate_unittest_sources) list(APPEND armnnDelegate_unittest_sources test/ActivationTest.cpp @@ -233,7 +233,6 @@ if(BUILD_UNIT_TESTS) else() endif() - if (BUILD_CLASSIC_DELEGATE OR BUILD_OPAQUE_DELEGATE) add_executable(DelegateUnitTests ${armnnDelegate_unittest_sources}) target_include_directories(DelegateUnitTests SYSTEM PRIVATE "${TF_LITE_SCHEMA_INCLUDE_PATH}") @@ -241,18 +240,11 @@ if(BUILD_UNIT_TESTS) # Add half library from armnn third-party libraries target_link_libraries(DelegateUnitTests PRIVATE thirdparty_headers) - if (BUILD_CLASSIC_DELEGATE) - target_link_libraries(DelegateUnitTests PRIVATE armnnDelegate) - target_include_directories(DelegateUnitTests PUBLIC ${PROJECT_SOURCE_DIR}) - endif() - if (BUILD_OPAQUE_DELEGATE) - target_link_libraries(DelegateUnitTests PRIVATE armnnOpaqueDelegate) - target_include_directories(DelegateUnitTests PUBLIC ${PROJECT_SOURCE_DIR}) - endif() + target_link_libraries(DelegateUnitTests PRIVATE armnnDelegate) + target_include_directories(DelegateUnitTests PUBLIC ${PROJECT_SOURCE_DIR}) target_link_libraries(DelegateUnitTests PRIVATE Armnn::armnnUtils) target_link_libraries(DelegateUnitTests PRIVATE profiling_library_headers) - endif() endif() if(BUILD_DELEGATE_JNI_INTERFACE) |