straight-river-55032
02/26/2016, 2:26 AMstraight-river-55032
02/26/2016, 2:26 AMstraight-river-55032
02/26/2016, 2:26 AMancient-stone-50795
02/26/2016, 2:27 AMbored-art-40741
02/26/2016, 2:35 AMbored-art-40741
02/26/2016, 2:35 AM[jar-tool]
jvm_options: ['-Xms2g','-Xmx2g', '-Djava.io.tmpdir=%(pants_workdir)s']
bored-art-40741
02/26/2016, 2:36 AMbored-art-40741
02/26/2016, 2:38 AMstraight-river-55032
02/26/2016, 2:43 AMstraight-river-55032
02/26/2016, 2:44 AMancient-stone-50795
02/26/2016, 2:45 AMstraight-river-55032
02/26/2016, 2:46 AMancient-stone-50795
02/26/2016, 2:46 AMpants
setup script I think it puts it in PANTS_HOME="${PANTS_HOME:-${HOME}/.cache/pants/setup}"
ancient-stone-50795
02/26/2016, 2:46 AMstraight-river-55032
02/26/2016, 2:46 AMancient-stone-50795
02/26/2016, 2:46 AMancient-stone-50795
02/26/2016, 2:49 AMbored-art-40741
02/26/2016, 2:50 AMbored-art-40741
02/26/2016, 2:50 AMstraight-river-55032
02/26/2016, 4:06 AM[shade-zinc]
before it starts actually compiling: https://travis-ci.org/jhump/bluegosling/builds
It looks like the actual virtual envs (e.g. pants bootstrapping itself) is properly cached. It has more "bootstrap" steps printed out in travis, but this is the one that takes a while. (On my laptop, it skips all of these and gets right into compiling code in ~1 second.)bored-art-40741
02/26/2016, 4:10 AMbored-art-40741
02/26/2016, 4:10 AMbored-art-40741
02/26/2016, 4:10 AM[cache.bootstrap.bootstrap-jvm-tools]
write_to: %(local_and_remote_artifact_caches)s
read_from: %(local_and_remote_artifact_caches)s
bored-art-40741
02/26/2016, 4:10 AMstraight-river-55032
02/26/2016, 4:23 AMred-cpu-25099
02/26/2016, 4:04 PMbootstrap_jvm_tools
. I can see where write to cache is occur: https://github.com/pantsbuild/pants/blob/369da95dc6f4dd7b3d67b7b2cc9fb82b32457eb0/src/python/pants/backend/jvm/tasks/bootstrap_jvm_tools.py#L274, but how read from cache is working?bored-art-40741
02/26/2016, 4:48 PMself.invalidated
abovebored-art-40741
02/26/2016, 4:49 PMself.invalidated
hits the cache, the target will be in invalidation_check.valid_vts
rather than invalidred-cpu-25099
02/26/2016, 5:02 PM