🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334
pkgname: mimalloc
pkgver: '3.5.4'
pkgrel: '1'
pkgdesc: 'Compact general purpose allocator with excellent performance'
url: 'https://github.com/microsoft/mimalloc'
arch: x86_64
license:
- MIT
depends:
- glibc
makedepends:
- cmake
- ninja
source:
- 'https://github.com/microsoft/mimalloc/archive/refs/tags/v${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd mimalloc-${pkgver}
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-DMI_BUILD_SHARED=ON \
-DMI_BUILD_STATIC=OFF \
-DMI_BUILD_OBJECT=OFF \
-DMI_BUILD_TESTS=OFF \
-DMI_OVERRIDE=OFF
make
make DESTDIR=${PKGDIR} install
package: |
true