Build tbbmalloc also on mips
authorAdrian Bunk <bunk@debian.org>
Wed, 15 Jun 2022 08:16:35 +0000 (11:16 +0300)
committerMo Zhou <lumin@debian.org>
Sat, 25 Jun 2022 14:28:41 +0000 (15:28 +0100)
Signed-off-by: Adrian Bunk <bunk@debian.org>
Gbp-Pq: Name 0001-Build-tbbmalloc-also-on-mips.patch

CMakeLists.txt

index 2ad5f7a2acef397b5733fe29489d5668de93ce4b..d43871bf23967fe90c7d31fb4fa41765864ee985 100644 (file)
@@ -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()
 
     # -------------------------------------------------------------------