Compare commits

...

7 Commits

Author SHA1 Message Date
Kai Tamkun
60d565d267 Wait, that doesn't exist anymore 2025-08-21 20:02:34 -07:00
Kai Tamkun
55ca88b9b7 And again 2025-08-21 20:00:29 -07:00
Kai Tamkun
54ad155668 Update mimalloc branch version 2025-08-21 19:59:11 -07:00
Kai Tamkun
709d9f858a An attempt at v3 2025-08-20 18:40:53 -07:00
Kai Tamkun
ea690d81d1 Use 20 as the default value for mi_option_generic_administrative 2025-08-20 17:18:52 -07:00
Kai Tamkun
3e9842e1e1 Configure mi_option_generic_collect with MIMALLOC_GENERIC_COLLECT and mi_option_generic_administrative with MIMALLOC_GENERIC_ADMINISTRATIVE 2025-08-20 17:07:45 -07:00
Kai Tamkun
cf0bdce7d4 Add bun_configure_mimalloc 2025-08-20 16:46:08 -07:00

View File

@@ -4,7 +4,7 @@ register_repository(
REPOSITORY
oven-sh/mimalloc
COMMIT
1beadf9651a7bfdec6b5367c380ecc3fe1c40d1a
c90e3981edcf6d75c8243e3d323e4300d700ebc6
)
set(MIMALLOC_CMAKE_ARGS
@@ -14,7 +14,7 @@ set(MIMALLOC_CMAKE_ARGS
-DMI_BUILD_TESTS=OFF
-DMI_USE_CXX=ON
-DMI_SKIP_COLLECT_ON_EXIT=ON
# ```
# mimalloc_allow_large_os_pages=0 BUN_PORT=3004 mem bun http-hello.js
# Started development server: http://localhost:3004
@@ -51,7 +51,7 @@ if(ENABLE_ASAN)
list(APPEND MIMALLOC_CMAKE_ARGS -DMI_DEBUG_UBSAN=ON)
elseif(APPLE OR LINUX)
if(APPLE)
list(APPEND MIMALLOC_CMAKE_ARGS -DMI_OVERRIDE=OFF)
list(APPEND MIMALLOC_CMAKE_ARGS -DMI_OVERRIDE=OFF)
list(APPEND MIMALLOC_CMAKE_ARGS -DMI_OSX_ZONE=OFF)
list(APPEND MIMALLOC_CMAKE_ARGS -DMI_OSX_INTERPOSE=OFF)
else()