From 7a16ef2cd57eeab75bbf42bfc1f951166a92e589 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Dec 2025 23:05:43 +0000 Subject: [PATCH 1/3] Initial plan From d6e0766047b95508d2b29867d5dd2a56e6b7a1bc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Dec 2025 23:07:06 +0000 Subject: [PATCH 2/3] Replace $ with ${CMAKE_BUILD_TYPE} in ExternalProject_Add Co-authored-by: asn5d <16312669+asn5d@users.noreply.github.com> --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 556a8db..7e725f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,7 +118,7 @@ if(USE_MIMALLOC) GIT_TAG v2.2.4 PREFIX ${MIMALLOC_PREFIX} CMAKE_ARGS - -DCMAKE_BUILD_TYPE=$ + -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DMI_BUILD_SHARED=ON -DMI_BUILD_STATIC=OFF -DMI_BUILD_TESTS=OFF From 42d54bebdb2223e3b6ab63b34e2adbde18d24f60 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Dec 2025 23:12:13 +0000 Subject: [PATCH 3/3] Use hardcoded Release build type for mimalloc ExternalProject Co-authored-by: asn5d <16312669+asn5d@users.noreply.github.com> --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e725f4..c4b387c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,7 +118,7 @@ if(USE_MIMALLOC) GIT_TAG v2.2.4 PREFIX ${MIMALLOC_PREFIX} CMAKE_ARGS - -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} + -DCMAKE_BUILD_TYPE=Release -DMI_BUILD_SHARED=ON -DMI_BUILD_STATIC=OFF -DMI_BUILD_TESTS=OFF