From: Adrian Bunk Date: Wed, 15 Jun 2022 08:16:35 +0000 (+0300) Subject: Build tbbmalloc also on mips X-Git-Tag: archive/raspbian/2021.5.0-15+rpi1~3^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9d04b988955ccae11482415421bda96790dee167;p=onetbb.git Build tbbmalloc also on mips Signed-off-by: Adrian Bunk Gbp-Pq: Name 0001-Build-tbbmalloc-also-on-mips.patch --- 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() # -------------------------------------------------------------------