From 253e34353c1c034759b762e49fc97a0189ad2d7b Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Wed, 15 Jun 2022 11:16:35 +0300 Subject: [PATCH] Build tbbmalloc also on mips Signed-off-by: Adrian Bunk Gbp-Pq: Name 0001-Build-tbbmalloc-also-on-mips.patch --- CMakeLists.txt | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ad5f7a..d43871b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -197,16 +197,14 @@ else() if (TBB_BUILD) add_subdirectory(src/tbb) endif() - if (NOT "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "mips") - if (TBBMALLOC_BUILD) - add_subdirectory(src/tbbmalloc) - add_subdirectory(src/tbbmalloc_proxy) - endif() - if (APPLE) - message(STATUS "TBBBind build targets are disabled due to unsupported environment") - else() - add_subdirectory(src/tbbbind) - endif() + if (TBBMALLOC_BUILD) + add_subdirectory(src/tbbmalloc) + add_subdirectory(src/tbbmalloc_proxy) + endif() + if (APPLE) + message(STATUS "TBBBind build targets are disabled due to unsupported environment") + else() + add_subdirectory(src/tbbbind) endif() # ------------------------------------------------------------------- -- 2.30.2