diff options
author | Zhu Qun-Ying <zhu.qunying@gmail.com> | 2023-04-24 18:16:23 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-04-29 09:26:10 +0700 |
commit | 0b943006e3056ae72a264782f5af48b0602c3e75 (patch) | |
tree | f3d325a21316b7b74bee03250ddfa711563e566b /libraries/mimalloc | |
parent | d8c0cd948f8b4b554b87157af166b9909fe3c930 (diff) |
libraries/mimalloc: Updated for version 2.1.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/mimalloc')
-rw-r--r-- | libraries/mimalloc/mimalloc.SlackBuild | 6 | ||||
-rw-r--r-- | libraries/mimalloc/mimalloc.info | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/libraries/mimalloc/mimalloc.SlackBuild b/libraries/mimalloc/mimalloc.SlackBuild index caae0bdfb12aa..7cde1378c7aa3 100644 --- a/libraries/mimalloc/mimalloc.SlackBuild +++ b/libraries/mimalloc/mimalloc.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mimalloc -VERSION=${VERSION:-2.0.9} +VERSION=${VERSION:-2.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -91,6 +91,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/html/ cp readme.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# the header file mimalloc-override.h and mimalloc-new-delete.h assume the +# header path is fully added as /usr/include/mimalloc-2.1, otherwise using +# those two header files would result in compile error. +sed -i 's/\/include/\/include\/mimalloc-2.1/' $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/mimalloc.pc mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/mimalloc/mimalloc.info b/libraries/mimalloc/mimalloc.info index e4456f58248e2..55cded18935be 100644 --- a/libraries/mimalloc/mimalloc.info +++ b/libraries/mimalloc/mimalloc.info @@ -1,8 +1,8 @@ PRGNAM="mimalloc" -VERSION="2.0.9" +VERSION="2.1.2" HOMEPAGE="https://github.com/microsoft/mimalloc" -DOWNLOAD="https://github.com/microsoft/mimalloc/archive/v2.0.9/mimalloc-2.0.9.tar.gz" -MD5SUM="d35a67fe616af61b0bc22c80c8b94f88" +DOWNLOAD="https://github.com/microsoft/mimalloc/archive/v2.1.2/mimalloc-2.1.2.tar.gz" +MD5SUM="5179c8f5cf1237d2300e2d8559a7bc55" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |