-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW 4649: [C++][CI][R] Add job that builds brew install apache-arrow --HEAD
#4576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
brew install apache-arrow --HEADbrew install apache-arrow --HEAD
|
-1 -- this isn't a nightly build, this is in Travis CI. Should we set this up in Crossbow / Buildbot instead? |
|
It's definitely not nightly. But it's done. IMO our efforts are best spent right now in fixing the homebrew failure that this uncovers, which AFAICT should be release blocking. I will gladly work to migrate this off Travis after the release, but given what I know of how to extend buildbot/crossbow, adding a new job that does macOS and R to one of them is going to be some significant effort, and I'd rather spend that time elsewhere before 0.14 goes out. |
brew install apache-arrow --HEADbrew install apache-arrow --HEAD
|
I'm also working on https://issues.apache.org/jira/browse/ARROW-5590 now so the net number of Travis jobs will not increase, in case that helps. |
|
I think that we should cover this by GLib test on macOS: diff --git a/.travis.yml b/.travis.yml
index 36a2dccf..02aaa2dc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -281,9 +281,9 @@ matrix:
script:
- if [ $ARROW_CI_C_GLIB_AFFECTED = "1" ]; then $TRAVIS_BUILD_DIR/ci/travis_script_c_glib.sh; fi
- $TRAVIS_BUILD_DIR/ci/travis_script_ruby.sh
- - name: "[OS X] C++ & GLib & Ruby w/ XCode 8.3 & homebrew"
+ - name: "[OS X] C++ & GLib & Ruby w/ XCode 10.2 & homebrew"
compiler: clang
- osx_image: xcode8.3
+ osx_image: xcode10.2
os: osx
env:
- ARROW_TRAVIS_ORC=1For GLib, we don't much care about old macOS and Xcode. |
|
Unless I'm missing something, I don't think the change you suggest is enough. The Travis job I added installs the C++ Arrow library from the head of master using |
|
Also, regardless of where this is tested, IMO the bigger issue is that |
|
We should not use Homebrew to test master on macOS. Because the apache-arrow formula is for the released Apache Arrow. GLib is expected to be installed by Homebrew on macOS. So GLib CI on macOS should use the (almost) same configuration as the apache-arrow formula for the next release. I think that this is a build environment problem.
% for x in /usr/local/opt/gcc/lib/gcc/9/*.dylib; do nm $x | grep -q "T ___addtf3" && echo $x; done
/usr/local/opt/gcc/lib/gcc/9/libgcc_ext.10.4.dylib
/usr/local/opt/gcc/lib/gcc/9/libgcc_ext.10.5.dylib
/usr/local/opt/gcc/lib/gcc/9/libgcc_s.1.dylib
/usr/local/opt/gcc/lib/gcc/9/libgcc_s_ppc64.1.dylib
/usr/local/opt/gcc/lib/gcc/9/libgcc_s_x86_64.1.dylibNormally, a library should use one of them instead of |
|
I guess I don't understand the point of having Locally, I didn't get that failure, but I got a different one. Wouldn't be surprised at all if |
|
I think that using the latest macOS and all libraries of Homebrew is enough for Homebrew support of the next release.
I commented a solution to the issue. |
|
Since we make changes to the build system periodically, it can be hard to keep the formula working in between releases, so as long as we are testing master against Homebrew dependencies then we can fix up the formula at release time |
|
Is there a way we can maintain and test the Homebrew formula as part of this repository? That might be one way to make things more civilized |
|
@wesm IIUC we can set up the homebrew tap and use that in our CI, but the tap formula itself would have to live in a separate repository. I'm in favor of doing that or similar, so that the release process is essentially copying the formula from our tap repo into a PR to homebrew-core. Should we close this issue/PR and make a new one that is appropriately scoped? |
|
I've created #4641 that tests master against Homebrew dependencies. |
|
Closing this: looks like we'll cover Homebrew formula testing by other means. |
Note that this fails: see https://travis-ci.org/nealrichardson/arrow/jobs/545841211 for output.
I'm guessing this needs to pass in order for the upcoming release to be successful. cc @kou