From 4e2d8db00ad265371749a71e2c9023eeb2c509c7 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 27 Apr 2023 18:22:27 +0530 Subject: [PATCH] mimalloc: update to 2.1.2 --- mingw-w64-mimalloc/0001-cmake-fix-install-dir.patch | 2 +- mingw-w64-mimalloc/PKGBUILD | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/mingw-w64-mimalloc/0001-cmake-fix-install-dir.patch b/mingw-w64-mimalloc/0001-cmake-fix-install-dir.patch index 33a0c315ee..b62a574df1 100644 --- a/mingw-w64-mimalloc/0001-cmake-fix-install-dir.patch +++ b/mingw-w64-mimalloc/0001-cmake-fix-install-dir.patch @@ -1,6 +1,6 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -380,10 +380,13 @@ +@@ -412,10 +412,13 @@ add_custom_command(TARGET mimalloc POST_BUILD COMMAND "${CMAKE_COMMAND}" -E copy "${CMAKE_CURRENT_SOURCE_DIR}/bin/mimalloc-redirect${MIMALLOC_REDIRECT_SUFFIX}.dll" $ COMMENT "Copy mimalloc-redirect${MIMALLOC_REDIRECT_SUFFIX}.dll to output directory") diff --git a/mingw-w64-mimalloc/PKGBUILD b/mingw-w64-mimalloc/PKGBUILD index 9f71886e16..24d658bec9 100644 --- a/mingw-w64-mimalloc/PKGBUILD +++ b/mingw-w64-mimalloc/PKGBUILD @@ -4,12 +4,12 @@ _realname=mimalloc pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") -pkgver=2.1.1 +pkgver=2.1.2 pkgrel=1 pkgdesc='General-purpose allocator with excellent performance characteristics (mingw-w64)' arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') -license=('MIT') +license=('spdx:MIT') url='https://github.com/microsoft/mimalloc' depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs") makedepends=("${MINGW_PACKAGE_PREFIX}-cc" @@ -17,8 +17,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc" "${MINGW_PACKAGE_PREFIX}-ninja") source=("https://github.com/microsoft/${_realname}/archive/refs/tags/v${pkgver}.tar.gz" 0001-cmake-fix-install-dir.patch) -sha256sums=('38b9660d0d1b8a732160191609b64057d8ccc3811ab18b7607bc93ca63a6010f' - 'd0baf72ed27e10f39883cc424165c4a150275588362acad23303e7e96bbf08a1') +sha256sums=('2b1bff6f717f9725c70bf8d79e4786da13de8a270059e4ba0bdd262ae7be46eb' + '453203dbc944ddfc035e7c8f81e3a0ff1a1738922dbf9770fb08c3028c683a60') prepare() { cd "${srcdir}/${_realname}-${pkgver}" @@ -26,7 +26,6 @@ prepare() { } build() { - [[ -d "${srcdir}/build-${MSYSTEM}" ]] && rm -rf "${srcdir}/build-${MSYSTEM}" mkdir -p "${srcdir}/build-${MSYSTEM}" && cd "${srcdir}/build-${MSYSTEM}" MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" \