Last active
June 9, 2023 12:01
-
-
Save gz/d649d27b11f3e8d043c405fec9ec1d51 to your computer and use it in GitHub Desktop.
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
set -ex | |
sudo apt-get build-dep libmemcached-tools | |
wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz | |
tar zxvf libmemcached-1.0.18.tar.gz | |
cd libmemcached-1.0.18/ | |
LDFLAGS='-lpthread' CXXFLAGS='-fpermissive' CFLAGS='-Wno-errors -fpermissive' ./configure --enable-memaslap --with-pthread=yes | |
make -j12 | |
sudo make install | |
sudo ldconfig | |
memaslap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment