mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
Move to using Homebrew/bundle and Brewfile
improves osx dependency management
This commit is contained in:
1 parent
808a143300
commit
6faef0ce49
6 files changed
+18
-14
No files matched your search
@@ -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"
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
@@ -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
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user