diff options
author | Sadik Armagan <sadik.armagan@arm.com> | 2021-07-15 09:35:50 +0100 |
---|---|---|
committer | Sadik Armagan <sadik.armagan@arm.com> | 2021-07-15 09:35:50 +0100 |
commit | 1ccb3c3a26d8b02959493a54367054c1b43ab12c (patch) | |
tree | a53c067ec5eba9457420665622b8f295f27261a8 /cmake/GlobalConfig.cmake | |
parent | 7af2fd7021a80ce4af8e0bb4000a445b82f53ee9 (diff) | |
download | armnn-1ccb3c3a26d8b02959493a54367054c1b43ab12c.tar.gz |
IVGCVSW-5965: Remove the boost library from Arm NN build files.
* Remove all references to boost from the ArmNN build files:
* Caught one remaining include in TensorTest.cpp.
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Ib8c8014cf471aa0024c977ccb23ebf96b0236aca
Diffstat (limited to 'cmake/GlobalConfig.cmake')
-rw-r--r-- | cmake/GlobalConfig.cmake | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake index 8757723c10..cad22022ba 100644 --- a/cmake/GlobalConfig.cmake +++ b/cmake/GlobalConfig.cmake @@ -26,7 +26,6 @@ option(DYNAMIC_BACKEND_PATHS "Colon seperated list of paths where to load the dy option(SAMPLE_DYNAMIC_BACKEND "Include the sample dynamic backend and its tests in the build" OFF) option(BUILD_GATORD_MOCK "Build the Gatord simulator for external profiling testing." ON) option(BUILD_TIMELINE_DECODER "Build the Timeline Decoder for external profiling." ON) -option(SHARED_BOOST "Use dynamic linking for boost libraries" OFF) option(BUILD_BASE_PIPE_SERVER "Build the server to handle external profiling pipe traffic" ON) option(BUILD_PYTHON_WHL "Build Python wheel package" OFF) option(BUILD_PYTHON_SRC "Build Python source package" OFF) @@ -125,23 +124,6 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_P include(CMakeFindDependencyMacro) if (NOT BUILD_PIPE_ONLY) - # Boost - message(STATUS "Finding Boost") - if(SHARED_BOOST) - add_definitions(-DBOOST_ALL_DYN_LINK) - set(Boost_USE_STATIC_LIBS OFF) - else() - set(Boost_USE_STATIC_LIBS ON) - endif() - if (BUILD_UNIT_TESTS) - add_definitions("-DBOOST_ALL_NO_LIB") # Turn off auto-linking as we specify the libs manually - find_package(Boost 1.59 REQUIRED COMPONENTS unit_test_framework) - include_directories(SYSTEM "${Boost_INCLUDE_DIRS}") - link_directories(${Boost_LIBRARY_DIRS}) - endif() -endif() - -if (NOT BUILD_PIPE_ONLY) # cxxopts (Alternative to boost::program_options) find_path(CXXOPTS_INCLUDE cxxopts/cxxopts.hpp PATHS third-party NO_CMAKE_FIND_ROOT_PATH) include_directories(SYSTEM "${CXXOPTS_INCLUDE}") |