diff --git a/srcpkgs/mimalloc/template b/srcpkgs/mimalloc/template index 3f098c48245..41b861db6d2 100644 --- a/srcpkgs/mimalloc/template +++ b/srcpkgs/mimalloc/template @@ -1,6 +1,6 @@ # Template file for 'mimalloc' pkgname=mimalloc -version=2.1.2 +version=2.1.6 revision=1 build_style=cmake configure_args="$(vopt_bool secure MI_SECURE)" @@ -8,13 +8,17 @@ short_desc="General purpose allocator with excellent performance characteristics maintainer="Peter Wang " license="MIT" homepage="https://github.com/microsoft/mimalloc" -distfiles="https://github.com/microsoft/mimalloc/archive/v${version}.tar.gz" -checksum=2b1bff6f717f9725c70bf8d79e4786da13de8a270059e4ba0bdd262ae7be46eb +distfiles="https://github.com/microsoft/mimalloc/archive/refs/tags/v${version}.tar.gz" +checksum=0ec960b656f8623de35012edacb988f8edcc4c90d2ce6c19f1d290fbb4872ccc build_options="secure" build_options_default="secure" desc_option_secure="Build mimalloc in secure mode" +if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then + configure_args+=" MI_LIBC_MUSL=ON" +fi + post_install() { vlicense LICENSE }