aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authoripkn <ipknhama@gmail.com>2014-07-29 20:28:29 +0900
committeripkn <ipknhama@gmail.com>2014-07-29 20:28:29 +0900
commitedee080ab9ee42d5cde2eeb793f68855f7d5d392 (patch)
tree333e86850df66fe4c3d576f9babae2d00a963bbc /README.md
parentb7781b20ff8675ca0c860b017f3c3e7817b6eb37 (diff)
parentcae43ed7046ab46cf3f8da2f9618379026dc7bb2 (diff)
downloadcrow-edee080ab9ee42d5cde2eeb793f68855f7d5d392.tar.gz
crow-edee080ab9ee42d5cde2eeb793f68855f7d5d392.zip
Merge pull request #11 from c0untd0wn/master
support for Mac OS X
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))