Commit 33f2a1c9 authored by Adriano Melo's avatar Adriano Melo Committed by Sara Golemon

Building instructions for MAC OS X (MacPorts)

Summary: Tested on Mac OS X 10.10.3 and MacPorts 2.3.3.
Closes #227

Reviewed By: @yfeldblum

Differential Revision: D2176700

Pulled By: @sgolemon
parent 77f37d5d
...@@ -67,7 +67,7 @@ In the folly directory, run ...@@ -67,7 +67,7 @@ In the folly directory, run
sudo make install sudo make install
``` ```
OS X OS X (Homebrew)
---- ----
There is a bootstrap script if you use Homebrew (http://brew.sh/). At the time There is a bootstrap script if you use Homebrew (http://brew.sh/). At the time
of writing (OS X Yosemite 10.10.1) the default compiler (clang) has some of writing (OS X Yosemite 10.10.1) the default compiler (clang) has some
...@@ -81,6 +81,48 @@ of by the bootstrap script.) ...@@ -81,6 +81,48 @@ of by the bootstrap script.)
make check make check
``` ```
OS X (MacPorts)
----
Install the required packages from MacPorts:
```
sudo port install \
autoconf \
automake \
boost \
gflags \
git \
google-glog \
libevent \
libtool \
lz4 \
lzma \
scons \
snappy \
zlib
```
Download and install double-conversion:
```
git clone https://github.com/google/double-conversion.git
cd double-conversion
cmake -DBUILD_SHARED_LIBS=ON .
make
sudo make install
```
Download and install folly with the parameters listed below:
```
git clone https://github.com/facebook/folly.git
cd folly/folly
autoreconf -ivf
./configure CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib"
make
sudo make install
```
Other Linux distributions Other Linux distributions
------------------------- -------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment