Skip to content

Commit

Permalink
Switch back to TBB malloc
Browse files Browse the repository at this point in the history
After switching to mimalloc I've received several crash reports.
This commmit reverts klogg back to TBB malloc overrides.

Also try enable malloc override for MacOS.
  • Loading branch information
variar committed May 18, 2021
1 parent 10ba5fe commit cbcdc4c
Show file tree
Hide file tree
Showing 94 changed files with 12 additions and 42,266 deletions.
12 changes: 0 additions & 12 deletions 3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@ add_subdirectory(whereami)
add_subdirectory(kdab)
add_subdirectory(roaring) #0.3.1

if(KLOGG_USE_MIMALLOC)
set(MI_INSTALL_TOPLEVEL ON)
if (NOT WIN32)
set(MI_BUILD_SHARED OFF)
set(MI_BUILD_STATIC OFF)
if (APPLE)
set(MI_OSX_ZONE ON)
endif()
endif()
add_subdirectory(mimalloc) #-1.7.1
endif()

if(KLOGG_USE_SENTRY)
set(SENTRY_BACKEND "crashpad" CACHE INTERNAL "" FORCE)
set(SENTRY_TRANSPORT "none" CACHE INTERNAL "" FORCE)
Expand Down
11 changes: 0 additions & 11 deletions 3rdparty/mimalloc/.gitattributes

This file was deleted.

8 changes: 0 additions & 8 deletions 3rdparty/mimalloc/.gitignore

This file was deleted.

Loading

0 comments on commit cbcdc4c

Please sign in to comment.