Commit graph

239 commits

Author SHA1 Message Date
Daan
881d5e3c06
Merge pull request #1047 from ognevny/patch-1
cmake: don't change properties of import lib on Windows/MinGW
2025-03-25 15:43:16 -07:00
Maksim Bondarenkov
797ca19ba9
cmake: don't change properties of import lib on Windows/MinGW
CMake handles import lib for it automatically, and using `.dll.lib` extension is MSVC-specific hack
2025-03-24 08:35:15 +03:00
Peiyuan Song
34cc5c8fd9 remove the lib prefix when enabling mimalloc-redirect for mingw 2025-03-24 09:39:42 +08:00
Jo Bates
cf08c27d2b support MI_OPT_ARCH when using CMAKE_OSX_ARCHITECTURES with non-Apple Clang 2025-03-20 11:24:59 -07:00
Daan
660d749d77 do not default to MI_DEBUG=2 in release mode builds even when NDEBUG is not defined by defininig MI_BUILD_RELEASE (issue #1037) 2025-03-19 20:29:29 -07:00
Daan
7d6304347e revert back to _WIN32_WINNT=x0600 as we dynamically check for GetPhysicalInstalledMemory now (issue #976) 2025-03-06 19:09:51 -08:00
Daan Leijen
5c6ab532d9 make MI_OPT_ARCH by default OFF except for arm64 where we assume v8.1-a for fast atomics 2025-03-05 15:37:37 -08:00
Daan Leijen
09ad6d2819 initial statistics api 2025-03-02 15:34:37 -08:00
Daan Leijen
113800d1f0 remove status message 2025-03-01 14:52:37 -08:00
Daan Leijen
b0b9d9c22b add note that git rev dependency doesnt work 2025-03-01 14:51:27 -08:00
Daan Leijen
c2ae1c3539 fix git rev dependency in cmake configure 2025-03-01 14:31:24 -08:00
Daan Leijen
527cd05fec add git hash to compile defines 2025-03-01 14:29:23 -08:00
Daan
ac35aa168c consistent use of IN_LIST 2025-02-17 14:24:10 -08:00
Daan
8ed7b76adc add armv9 match 2025-02-17 14:16:56 -08:00
Nathan Moinvaziri
1699b2a82e cmake arch detection from CMAKE_OSX_ARCHITECTURES (issue #1011) 2025-02-14 16:12:01 -08:00
daanx
3e7875066b add dynamic override test on windows 2025-02-09 19:22:26 -08:00
Daan
84aadcb087 avoid link error with asan/c++ 2025-02-09 18:55:14 -08:00
Daan
62833be9eb disable dynamic override test on ubsan/tsan/asan 2025-02-09 18:44:17 -08:00
Daan
7dd598e0e8 add dynamic override test 2025-02-09 18:32:16 -08:00
Daan
069279e3e7 improve cmake for multi-arch binaries on apple 2025-02-08 12:18:27 -08:00
Daan
0e9159e0bf add comment 2025-02-08 12:06:39 -08:00
Jo Bates
eb0081382b support MI_OPT_ARCH when targeting multiple CMAKE_OSX_ARCHITECTURES 2025-02-01 17:04:46 -08:00
daanx
8d520306b8 set pdb name on windows 2025-01-11 12:32:23 -08:00
Daan
be05b232e8 fix obj path on windows 2025-01-10 08:44:31 -08:00
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