Created
February 22, 2017 03:11
-
-
Save ipoval/09b1a15f6b3aa1cfbe83980d65fd78ed to your computer and use it in GitHub Desktop.
mcrouter on alpione
This file contains hidden or 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
Install stuff from here: | |
https://wiki.alpinelinux.org/wiki/How_to_get_regular_stuff_working | |
apk add --no-cache linux-headers | |
apk add --no-cache jemalloc-dev | |
apk add --no-cache boost-thread | |
apk add --no-cache boost-dev | |
apk add --no-cache boost-filesystem | |
apk add --no-cache boost-program_options | |
apk add --no-cache boost-regex | |
apk add --no-cache automake | |
echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories | |
apk add --no-cache glog-dev | |
apk add --no-cache glog | |
curl -L https://github.com/gflags/gflags/archive/v2.2.0.tar.gz | tar xvz | |
... | |
apk add --no-cache --virtual .build-deps \ | |
gcc \ | |
libc-dev \ | |
libevent-dev \ | |
linux-headers \ | |
make \ | |
perl \ | |
tar \ | |
export MCROUTER_DIR=/usr/local/mcrouter | |
export MCROUTER_REPO=https://github.com/facebook/mcrouter.git | |
export MCROUTER_VERSION="0.15" | |
export MCROUTER_SHA=f1f40cc225a56369f14d3b5f39ef5d4f122dda3f | |
mkdir /home/mcrouter-build | |
./scripts/install_ubuntu_14.04.sh /home/mcrouter-build | |
/home/gflags-2.2.0/build/include | |
/home/gflags-2.2.0/build/lib | |
CPPFLAGS="-I/home/gflags-2.2.0/build/include $CPPFLAGS" | |
LDFLAGS="-L/home/gflags-2.2.0/build/lib" | |
mv /usr/lib/libiberty.a /tmp/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment