[ 
https://issues.apache.org/jira/browse/ARROW-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16469540#comment-16469540
 ] 

Antoine Pitrou commented on ARROW-2563:
---------------------------------------

{quote}I've seen this before but not sure whether it is related to caching: 
could you restart the job and see if this happens consistently?{quote}

I've restarted it twice already. Feel free to try on your side. The branch I 
tried this on is unrelated, I was just surprised by the Rust compilation times 
and experimented a bit.

> [Rust] Poor caching in Travis-CI
> --------------------------------
>
>                 Key: ARROW-2563
>                 URL: https://issues.apache.org/jira/browse/ARROW-2563
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Continuous Integration, Rust
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> Since the Rust project isn't at the repo root, Travis-CI won't compiled cache 
> artifacts by default. This leads to long CI times as all packages get 
> recompiled (see https://docs.travis-ci.com/user/caching/#Rust-Cargo-cache for 
> what gets cached).
> In https://travis-ci.org/pitrou/arrow/jobs/376859806 I tried the following:
> {code}
> export CARGO_TARGET_DIR=$TRAVIS_BUILD_DIR/target
> {code}
> and after a first run, the build time went down to 2 minutes (from 15-18 
> minutes).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to