From 701330f4e367495e950827c71c1fc91acb841f3c Mon Sep 17 00:00:00 2001 From: xplshn Date: Mon, 13 Jan 2025 02:43:12 +0000 Subject: fix: mimalloc recipe Mimalloc cannot be used without its static libraries, you need to be able to link to it. Mimalloc V3 is experimental, V2 is the recommended version Signed-off-by: xplshn --- repos/extra/mimalloc/abuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/repos/extra/mimalloc/abuild b/repos/extra/mimalloc/abuild index 482a3b94..8364b862 100755 --- a/repos/extra/mimalloc/abuild +++ b/repos/extra/mimalloc/abuild @@ -1,4 +1,6 @@ name=mimalloc -version=3.0.1 +version=v2.1.9 # V2 is the stable branch, V3 is still very experimental release=1 source="https://github.com/microsoft/${name}/archive/v${version}/${name}-v${version}.tar.gz" +keep_static=1 +build_opt="-DMI_OVERRIDE=true -DMI_LIBC_MUSL=true -DMI_BUILD_STATIC=true -DMI_BUILD_OBJECT=true -DMI_BUILD_SHARED=true" -- cgit v1.2.3 From c07511c82612ffebf13879aa378d6f17f8d86c6b Mon Sep 17 00:00:00 2001 From: xplshn Date: Mon, 13 Jan 2025 02:43:40 +0000 Subject: Delete repos/extra/mimalloc/.files --- repos/extra/mimalloc/.files | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 repos/extra/mimalloc/.files diff --git a/repos/extra/mimalloc/.files b/repos/extra/mimalloc/.files deleted file mode 100755 index dc0bef3a..00000000 --- a/repos/extra/mimalloc/.files +++ /dev/null @@ -1,20 +0,0 @@ -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/include/ -drwxr-xr-x root/root usr/include/mimalloc-3.0/ --rw-r--r-- root/root usr/include/mimalloc-3.0/mimalloc-new-delete.h --rw-r--r-- root/root usr/include/mimalloc-3.0/mimalloc-override.h --rw-r--r-- root/root usr/include/mimalloc-3.0/mimalloc.h -drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/cmake/ -drwxr-xr-x root/root usr/lib/cmake/mimalloc-3.0/ --rw-r--r-- root/root usr/lib/cmake/mimalloc-3.0/mimalloc-config-version.cmake --rw-r--r-- root/root usr/lib/cmake/mimalloc-3.0/mimalloc-config.cmake --rw-r--r-- root/root usr/lib/cmake/mimalloc-3.0/mimalloc-release.cmake --rw-r--r-- root/root usr/lib/cmake/mimalloc-3.0/mimalloc.cmake -lrwxrwxrwx root/root usr/lib/libmimalloc.so -> libmimalloc.so.3 -lrwxrwxrwx root/root usr/lib/libmimalloc.so.3 -> libmimalloc.so.3.0 --rwxr-xr-x root/root usr/lib/libmimalloc.so.3.0 -drwxr-xr-x root/root usr/lib/mimalloc-3.0/ --rw-r--r-- root/root usr/lib/mimalloc-3.0/mimalloc.o -drwxr-xr-x root/root usr/lib/pkgconfig/ --rw-r--r-- root/root usr/lib/pkgconfig/mimalloc.pc -- cgit v1.2.3 From cae90e830c30ffb47f6dd687581bdbed50c402e4 Mon Sep 17 00:00:00 2001 From: xplshn Date: Mon, 13 Jan 2025 02:43:50 +0000 Subject: Delete repos/extra/mimalloc/.checksum --- repos/extra/mimalloc/.checksum | 1 - 1 file changed, 1 deletion(-) delete mode 100755 repos/extra/mimalloc/.checksum diff --git a/repos/extra/mimalloc/.checksum b/repos/extra/mimalloc/.checksum deleted file mode 100755 index d7c00a86..00000000 --- a/repos/extra/mimalloc/.checksum +++ /dev/null @@ -1 +0,0 @@ -e842fdab4fd8ff032c46e6f2386d6ab4daae35946a2e35f05be251fbda9306b8 mimalloc-v3.0.1.tar.gz -- cgit v1.2.3 From 7c335cd27e0a2c8abb954a19fc3e0aa3fab07ac8 Mon Sep 17 00:00:00 2001 From: xplshn Date: Sun, 12 Jan 2025 23:48:37 -0300 Subject: fix: mimalloc recipe Signed-off-by: xplshn --- repos/extra/mimalloc/.checksum | 1 + repos/extra/mimalloc/.files | 21 +++++++++++++++++++++ repos/extra/mimalloc/abuild | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 repos/extra/mimalloc/.checksum create mode 100644 repos/extra/mimalloc/.files diff --git a/repos/extra/mimalloc/.checksum b/repos/extra/mimalloc/.checksum new file mode 100644 index 00000000..023ca999 --- /dev/null +++ b/repos/extra/mimalloc/.checksum @@ -0,0 +1 @@ +fde85d777b185a12918f47caee83bc09a9e0583fcab0ee319eabc2c8b1b30073 mimalloc-v2.1.9.tar.gz diff --git a/repos/extra/mimalloc/.files b/repos/extra/mimalloc/.files new file mode 100644 index 00000000..950077f4 --- /dev/null +++ b/repos/extra/mimalloc/.files @@ -0,0 +1,21 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/mimalloc-2.1/ +-rw-r--r-- root/root usr/include/mimalloc-2.1/mimalloc-new-delete.h +-rw-r--r-- root/root usr/include/mimalloc-2.1/mimalloc-override.h +-rw-r--r-- root/root usr/include/mimalloc-2.1/mimalloc.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/cmake/ +drwxr-xr-x root/root usr/lib/cmake/mimalloc-2.1/ +-rw-r--r-- root/root usr/lib/cmake/mimalloc-2.1/mimalloc-config-version.cmake +-rw-r--r-- root/root usr/lib/cmake/mimalloc-2.1/mimalloc-config.cmake +-rw-r--r-- root/root usr/lib/cmake/mimalloc-2.1/mimalloc-release.cmake +-rw-r--r-- root/root usr/lib/cmake/mimalloc-2.1/mimalloc.cmake +lrwxrwxrwx root/root usr/lib/libmimalloc.so -> libmimalloc.so.2 +lrwxrwxrwx root/root usr/lib/libmimalloc.so.2 -> libmimalloc.so.2.1 +-rwxr-xr-x root/root usr/lib/libmimalloc.so.2.1 +drwxr-xr-x root/root usr/lib/mimalloc-2.1/ +-rw-r--r-- root/root usr/lib/mimalloc-2.1/libmimalloc.a +-rw-r--r-- root/root usr/lib/mimalloc-2.1/mimalloc.o +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/mimalloc.pc diff --git a/repos/extra/mimalloc/abuild b/repos/extra/mimalloc/abuild index 8364b862..923a2228 100755 --- a/repos/extra/mimalloc/abuild +++ b/repos/extra/mimalloc/abuild @@ -1,5 +1,5 @@ name=mimalloc -version=v2.1.9 # V2 is the stable branch, V3 is still very experimental +version=2.1.9 release=1 source="https://github.com/microsoft/${name}/archive/v${version}/${name}-v${version}.tar.gz" keep_static=1 -- cgit v1.2.3