aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorBeomki Lee <c0untd0wn@wafflestudio.com>2014-07-27 23:23:58 +0900
committerBeomki Lee <c0untd0wn@wafflestudio.com>2014-07-27 23:23:58 +0900
commitcae43ed7046ab46cf3f8da2f9618379026dc7bb2 (patch)
treefdc15bf5a8927e20d0289881cb655e43f6bb87e7 /README.md
parent404b0b966ee85ffab87383610d48310e3ef6c537 (diff)
downloadcrow-cae43ed7046ab46cf3f8da2f9618379026dc7bb2.tar.gz
crow-cae43ed7046ab46cf3f8da2f9618379026dc7bb2.zip
support for Mac OSX
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 11 insertions, 4 deletions
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))