Move to using Homebrew/bundle and Brewfile

improves osx dependency management
This commit is contained in:
Stephen Groat committed 2017-09-27 16:08:21 -07:00
1 parent 808a143300
commit 6faef0ce49
6 files changed
+18 -14

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
brew "jemalloc"
brew "ccache"
brew "boost"
brew "cmake"
brew "thrift"
brew "gtk-doc"
brew "autoconf-archive"
brew "gobject-introspection"
brew "git"
brew "wget"
brew "libtool"
brew "lua"
+1 -5
View File
@@ -22,10 +22,7 @@ set -ex
source $TRAVIS_BUILD_DIR/ci/travis_env_common.sh
if [ $TRAVIS_OS_NAME == "osx" ]; then
brew install gtk-doc autoconf-archive gobject-introspection
brew upgrade git cmake
brew outdated || brew upgrade wget
brew outdated || brew upgrade libtool
brew tap Homebrew/bundle && brew bundle
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/libffi/lib/pkgconfig
fi
@@ -33,7 +30,6 @@ fi
gem install test-unit gobject-introspection
if [ $TRAVIS_OS_NAME == "osx" ]; then
brew install lua
sudo env PKG_CONFIG_PATH=$PKG_CONFIG_PATH luarocks install lgi
else
git clone \
+1 -3
View File
@@ -50,9 +50,7 @@ if [ "$ARROW_TRAVIS_USE_TOOLCHAIN" == "1" ]; then
fi
if [ $TRAVIS_OS_NAME == "osx" ]; then
brew update > /dev/null
brew install jemalloc
brew install ccache
brew tap Homebrew/bundle && brew bundle
fi
mkdir $ARROW_CPP_BUILD_DIR
+2 -2
View File
@@ -42,7 +42,7 @@ sudo apt-get install cmake \
On OS X, you can use [Homebrew][1]:
```shell
brew install boost cmake
brew tap Homebrew/bundle && brew bundle
```
If you are developing on Windows, see the [Windows developer guide][2].
@@ -252,4 +252,4 @@ both of these options would be used rarely. Current known uses-cases whent hey
[1]: https://brew.sh/
[2]: https://github.com/apache/arrow/blob/master/cpp/apidoc/Windows.md
[3]: https://google.github.io/styleguide/cppguide.html
[4]: https://github.com/include-what-you-use/include-what-you-use
[4]: https://github.com/include-what-you-use/include-what-you-use
+1 -1
View File
@@ -108,7 +108,7 @@ building Arrow C++:
.. code-block:: shell
brew install ccache jemalloc boost thrift
brew tap Homebrew/bundle && brew bundle
On Debian/Ubuntu, you need the following minimal set of dependencies. All other
dependencies will be automatically built by Arrow' thrid-party toolchain.
+1 -3
View File
@@ -59,7 +59,5 @@ conda create -y -q -p $CPP_TOOLCHAIN python=3.6 \
ninja
if [ $BUILD_OS_NAME == "osx" ]; then
brew update > /dev/null
brew install jemalloc
brew install ccache
brew tap Homebrew/bundle && brew bundle
fi