Commit graph

215 commits

Author SHA1 Message Date
Daan
3f91c9f937 move docker files 2025-01-09 23:10:12 -08:00
daanx
4fcf56af2e use consistent naming on Windows vs other platforms. Use mimalloc.dll.lib for the dll import library to avoid a clash with the static mimalloc.lib library 2025-01-09 20:57:08 -08:00
Daan Leijen
600ca88e87 fix library name for pkg config files (and to avoid extra patches in vcpkg) 2025-01-09 19:31:05 -08:00
daanx
432af2f304 use directly CMAKE_INSTALL_BIN/LIBDIR to avoid patch in vcpkg 2025-01-09 18:35:03 -08:00
Daan Leijen
5764845c4d fix build on msvc in C compilation; fix build with clang-cl on Windows 2025-01-06 10:27:46 -08:00
Daan Leijen
69ea6a3c55 display full version during cmake 2025-01-03 20:20:17 -08:00
daanx
47b5f48b29 renamed vcxproj 2024-12-26 10:08:19 -08:00
Daan Leijen
095f848ae8 fix issue #976 2024-12-24 17:22:58 -08:00
Daan Leijen
26eaa1f4e2 fix cmake to generate mimalloc.dll on windows 2024-12-20 12:52:58 -08:00
Daan Leijen
b51c0974d3 fix cmake for visual studio on arm64 2024-12-19 14:00:54 -08:00
daanx
61a112cde5 fix MI_ARCH test 2024-12-18 14:45:44 -08:00
daanx
69d2b4e991 add comments/doc 2024-12-18 14:41:20 -08:00
daanx
515ae84174 syntax error 2024-12-18 14:35:10 -08:00
daanx
636d646b9c update arch detection in cmake 2024-12-18 14:20:49 -08:00
Daan Leijen
3feb0d6cea add Windows arm64 support in cmame; name the mimalloc dll 'mimalloc-override.dll' on Windows with cmake (to match the IDE and minject 2024-12-16 23:09:50 -08:00
daanx
7bb4767607 add asan/ubsan/tsan and valgrind to default debug build 2024-12-10 20:45:59 -08:00
daanx
68bd8744b7 fix spelling 2024-12-08 09:13:48 -08:00
daanx
7c2b09fc3e only enable architecture specific optimization for armv8.1 2024-12-08 09:02:16 -08:00
daanx
60a8da75ff Add MI_ARCHOPT support for msvc 2024-12-07 14:16:39 -08:00
daanx
469ade882d Add MI_ARCHOPT option to enable architecture specific optimizations 2024-12-07 14:03:16 -08:00
daanx
8b6017d976 rename mi_debug_guarded_ to mi_guarded_ 2024-11-16 22:42:32 -08:00
daanx
b27d154ffd add virtual address bits and physical memory to the mem config 2024-11-16 15:37:08 -08:00
Daan
b3828bba9e disable aligned hinting or SV39 mmu's, issue #939, and pr #949 2024-10-27 21:58:20 -07:00
Daan
4377abe017 add cmake option to fall back on the fiber api do detect thread termination on windows 2024-10-21 22:59:41 -07:00
Daan
34e66778ec fix MI_EXTRA_CPPDEFS setting 2024-10-21 05:10:09 -07:00
Daan
394e8c27d8 add cmake option to add C pre processor definitions more easily 2024-10-21 05:02:24 -07:00
Daan
7b5df14bea initial work on guarded objects 2024-07-16 09:15:59 -07:00
Daan
e0baf882bb reduce UBSAN parameters to stay within pipeline limits 2024-06-03 21:26:38 -07:00
daanx
f7ba9d9da0 refactor arena-abandoned to be an include for backward compat with existing build scripts 2024-06-03 18:04:59 -07:00
daanx
800034cb99 refactor arena abandonment in a separate file 2024-06-03 17:58:34 -07:00
Daan
4aa97336f7 remove the need for cmake patch in vcpkg port 2024-05-21 12:06:52 -07:00
Daan
9cd7e4cc68 rename library check to find_link_library 2024-05-19 15:43:15 -07:00
Daan
f739e4f2c3 check all link libraries (pthread, rt, and atomic) via check_linker_flag first before using find_library (see also issue #898 2024-05-19 15:38:26 -07:00
Daan
03224e17a0 bump cmake required version to 3.18 and detect libatomic more reliably, see pr #898 2024-05-19 13:25:31 -07:00
Daan
0f6d8293c7 use local dynamic tls for static MUSL builds (see issue #644) 2024-05-11 08:08:03 -07:00
Daan
e46c1145a5 add separate MI_LIBC_MUSL option (issue #644) 2024-04-20 16:19:59 -07:00
Daan Leijen
07ae64bd81 faster check for NULL in mi_free by combining with masking 2024-03-24 10:39:22 -07:00
Daan
7df348e2ea fix typo, #756 2024-03-02 17:07:09 -08:00
Daan
128c7c1876 cleanup thp disable a bit 2024-03-02 16:55:13 -08:00
Daan
182583d3dd
Merge branch 'dev' into dev_thp_disable 2024-03-02 16:49:27 -08:00
Daan
c541a9b32e Revert setting hardcoded install paths on Haiku #788, by @begasus 2024-03-02 16:44:06 -08:00
Daan Leijen
3966953b7f prefer using __builtin_thread_pointer over assembly primitives. Fixes #851 and #852 as well. 2024-03-02 11:50:57 -08:00
David Carlier
388d1aa9bd new Linux/Android option proposal.
Allowing to disable transparent huge pages on Linux/Android, so
we avoid affecting the whole system (such as /sys/kernel/mm/transparent_hugepage/enabled).
2023-07-14 21:55:30 +01:00
daanx
4a85f32f8e add libc.c source file 2023-05-19 10:24:39 -07:00
Daan
e74159486b remove deprecated from description (issue #737) 2023-04-25 10:21:34 -07:00
daanx
a0bd338d96 undeprecate MI_INSTALL_TOPLEVEL (issue #737) 2023-04-25 08:25:50 -07:00
daanx
a2e1d2b893 add segment map to track valid pointers 2023-04-04 16:00:17 -07:00
daanx
77766e20a6 use only arena's instead of regions 2023-04-04 14:58:06 -07:00
Daan Leijen
accdc4de70 fix MI_SKIP_COLLECT_ON_EXIT syntax (pr #671 by @Unsttopabull) 2023-03-29 16:17:10 -07:00
Daan
c2a2533fba fix haiku compilation (pr #679) 2023-03-29 16:02:46 -07:00