From cae43ed7046ab46cf3f8da2f9618379026dc7bb2 Mon Sep 17 00:00:00 2001 From: Beomki Lee Date: Sun, 27 Jul 2014 23:23:58 +0900 Subject: support for Mac OSX --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index adc5749..036eb23 100644 --- a/README.md +++ b/README.md @@ -71,11 +71,18 @@ int main() ## How to Build -### Installing missing dependencies - -#### Ubuntu +### Ubuntu +#### Installing missing dependencies sudo apt-get install build-essential libtcmalloc-minimal4 && sudo ln -s /usr/lib/libtcmalloc_minimal.so.4 /usr/lib/libtcmalloc_minimal.so -### Building +#### Building git submodule init && git submodule update make -j$(($(grep -c '^processor' /proc/cpuinfo)+1)) + +### OSX +#### Installing missing dependencies + brew install boost google-perftools + +#### Building + git submodule init && git submodule update + make -j$(($(sysctl -a | grep machdep.cpu.thread_count | awk -F " " '{print $2}')+1)) -- cgit v1.2.3-54-g00ecf