[
https://issues.apache.org/jira/browse/ARROW-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16248734#comment-16248734
]
ASF GitHub Bot commented on ARROW-1781:
---------------------------------------
wesm closed pull request #1295: ARROW-1781: Don't use brew when using the
toolchain
URL: https://github.com/apache/arrow/pull/1295
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/.travis.yml b/.travis.yml
index 52d7a5f80..9917a2614 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -152,6 +152,7 @@ matrix:
rvm: 2.2
env: BUILD_SYSTEM=autotools
before_script:
+ - brew update && brew bundle --file=$TRAVIS_BUILD_DIR/c_glib/Brewfile
- $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh --only-library
- $TRAVIS_BUILD_DIR/ci/travis_before_script_c_glib.sh
script:
diff --git a/c_glib/Brewfile b/c_glib/Brewfile
index 80d3c81dd..9fe5c3b61 100644
--- a/c_glib/Brewfile
+++ b/c_glib/Brewfile
@@ -15,11 +15,14 @@
# specific language governing permissions and limitations
# under the License.
-brew "gtk-doc"
brew "autoconf-archive"
-brew "gobject-introspection"
-brew "git"
+brew "boost"
+brew "ccache"
brew "cmake"
-brew "wget"
+brew "git"
+brew "gobject-introspection"
+brew "gtk-doc"
+brew "jemalloc"
brew "libtool"
brew "lua"
+brew "wget"
diff --git a/ci/travis_before_script_c_glib.sh
b/ci/travis_before_script_c_glib.sh
index a22ecd375..99d05397a 100755
--- a/ci/travis_before_script_c_glib.sh
+++ b/ci/travis_before_script_c_glib.sh
@@ -22,8 +22,6 @@ set -ex
source $TRAVIS_BUILD_DIR/ci/travis_env_common.sh
if [ $TRAVIS_OS_NAME = "osx" ]; then
- brew update && brew bundle --file=c_glib/Brewfile
-
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/libffi/lib/pkgconfig
export XML_CATALOG_FILES=/usr/local/etc/xml/catalog
fi
diff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.sh
index dbdcd33ed..4998f190f 100755
--- a/ci/travis_before_script_cpp.sh
+++ b/ci/travis_before_script_cpp.sh
@@ -38,8 +38,10 @@ if [ "$ARROW_TRAVIS_USE_TOOLCHAIN" == "1" ]; then
rapidjson \
flatbuffers \
gflags \
+ gtest \
lz4-c \
snappy \
+ ccache \
zstd \
brotli \
zlib \
@@ -53,9 +55,6 @@ if [ "$ARROW_TRAVIS_USE_TOOLCHAIN" == "1" ]; then
conda update -y -p $CPP_TOOLCHAIN ca-certificates -c defaults
fi
-if [ $TRAVIS_OS_NAME == "osx" ]; then
- brew update && brew bundle --file=cpp/Brewfile
-fi
mkdir $ARROW_CPP_BUILD_DIR
pushd $ARROW_CPP_BUILD_DIR
diff --git a/cpp/Brewfile b/cpp/Brewfile
deleted file mode 100644
index 5f82cacc5..000000000
--- a/cpp/Brewfile
+++ /dev/null
@@ -1,21 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-brew "jemalloc"
-brew "ccache"
-brew "boost"
-brew "cmake"
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [CI] OSX Builds on Travis-CI time out often
> -------------------------------------------
>
> Key: ARROW-1781
> URL: https://issues.apache.org/jira/browse/ARROW-1781
> Project: Apache Arrow
> Issue Type: Bug
> Components: Continuous Integration
> Affects Versions: 0.7.1
> Reporter: Phillip Cloud
> Labels: pull-request-available
> Fix For: 0.8.0
>
>
> It looks like this command:
> {code}
> brew bundle --file=cpp/Brewfile
> {code}
> takes quite awhile to run. In this build
> (https://travis-ci.org/cpcloud/arrow/jobs/299219939) it took about 16 minutes
> to run.
> Is there something we can do to make this faster or use something else to
> install those packages?
> cc [~kou] [~xhochy]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)