Skip to content

ARROW-646: Cache miniconda directory in travis - #394

Closed
xhochy wants to merge 2 commits into
apache:masterfrom
xhochy:travis-cache-miniconda
Closed

xhochy wants to merge 2 commits into
apache:masterfrom
xhochy:travis-cache-miniconda

Conversation

@xhochy

@xhochy xhochy commented Mar 17, 2017

Copy link
Copy Markdown
Member

No description provided.

@xhochy

xhochy commented Mar 17, 2017

Copy link
Copy Markdown
Member Author

@wesm

wesm commented Mar 18, 2017

Copy link
Copy Markdown
Member

Does this actually cache the install? I'm trying to figure out how Travis's cache system works, because it's not clear how this will skip downloading miniconda after the first cache occurs

@wesm

wesm commented Mar 19, 2017

Copy link
Copy Markdown
Member

So when we run the miniconda install, it does not blow away $HOME/miniconda/pkgs (the thing we want to cache, right)

@xhochy

xhochy commented Mar 20, 2017

Copy link
Copy Markdown
Member Author

I have to re-check this assumption again as it seems currently that cached and non-cached builds take the same amount of time.

@wesm

wesm commented Mar 20, 2017 •

Copy link
Copy Markdown
Member

Seems like we can use $CONDA_ENVS_PATH to store the environments and package cache in a different directory, see

http://conda-test.pydata.org/docs/config.html

# Directories in which environments are located. If this key is set, the root
# prefix envs dir is not used unless explicitly included. This key also
# determines where the package caches will be located. For each envs here,
# envs/.pkgs will be used as the pkgs cache, except for standard the envs
# directory in the root directory, for which the normal root_dir/pkgs is used.
# The CONDA_ENVS_PATH environment variable, which is a colon separated list,
# allows overwriting this setting here.
envs_dirs:
  - ~/my-envs
  - /opt/anaconda/envs

@xhochy

xhochy commented Mar 26, 2017

Copy link
Copy Markdown
Member Author

Declining again as it seems that for now Travis builds fine and the caching here seems to not work flawless.

@xhochy xhochy closed this Mar 26, 2017
wesm added a commit to wesm/arrow that referenced this pull request Sep 8, 2018
This will enable most of the outstanding PRs to be rebased and then merged

Close apache#384
Close apache#394

Author: Wes McKinney <wes.mckinney@twosigma.com>

Closes apache#397 from wesm/PARQUET-1104 and squashes the following commits:

4106c5b [Wes McKinney] Include boost_system in static toolchain until ARROW-1536 resolved
005ee74 [Wes McKinney] Account for internal API change in ARROW-1511
3cab00d [Wes McKinney] Change MutableBuffer to Buffer to account for deprecation in ARROW-1402
7cd9702 [Wes McKinney] Upgrade to Apache Arrow 0.7.0 RC0

Change-Id: I6d0af9910da4d123ac66ec1a58a0de96c7ecaa95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants