X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Fbootstrap-osx-homebrew.sh;h=688ce4ddfb9239cf96ef1fd54b9cbc5588e5325c;hb=b7a982a8f0e04cd4940ed31fa31529b1a94ad1c6;hp=9843c5e0a8e2812814119dbb1b17f9f2f26dd858;hpb=a1119563e2ab8d6cde6e6aca480c1a38cfa11707;p=folly.git diff --git a/folly/bootstrap-osx-homebrew.sh b/folly/bootstrap-osx-homebrew.sh index 9843c5e0..688ce4dd 100755 --- a/folly/bootstrap-osx-homebrew.sh +++ b/folly/bootstrap-osx-homebrew.sh @@ -10,31 +10,13 @@ brewget() { } # tool dependencies: autotools and scons (for double-conversion) -brewget autoconf automake libtool scons +brewget autoconf automake libtool # dependencies -brewget glog gflags boost libevent - -# Install the double-conversion library. -# NB their install target installs the libs but not the headers, hence the -# CPPFLAGS and link shenanigans. -test -d double-conversion || { - git clone https://github.com/floitsch/double-conversion.git - pushd double-conversion/src - ln -s . double-conversion - popd -} -pushd double-conversion -scons -# fool libtool into using static linkage -# (this won't work if you've already installed libdouble-conversion into a -# default search path) -rm -f libdouble-conversion*dylib -DOUBLE_CONVERSION_HOME=$(pwd) -popd +brewget glog gflags boost libevent double-conversion autoreconf -i -./configure CPPFLAGS=-I"$DOUBLE_CONVERSION_HOME/src" LDFLAGS=-L"$DOUBLE_CONVERSION_HOME" +./configure pushd test test -e gtest-1.7.0.zip || {