Last active
July 19, 2023 15:04
-
-
Save adujardin/2b6caf86375b5d9b50de23b6d9ad3652 to your computer and use it in GitHub Desktop.
Install mimalloc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/microsoft/mimalloc | |
VERSION="1.8.2" | |
wget https://github.com/microsoft/mimalloc/archive/refs/tags/v${VERSION}.zip | |
unzip v${VERSION}.zip | |
cd mimalloc-${VERSION} | |
mkdir build ; cd build ; cmake .. ; make -j ; sudo make install | |
cd ../../ | |
rm -rf v${VERSION}.zip mimalloc-${VERSION} | |
sudo ln -s /usr/local/lib/libmimalloc.so /usr/lib/libmimalloc.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment