Channels
welcome
github-notifications
development
announce
random
plugins
general
pex
Powered by
#development
Title
h
happy-kitchen-89482
02/03/2020, 7:58 PM
Would it be correct to not rebuild the engine in CI if no rust code has changed?
a
aloof-angle-91616
02/03/2020, 7:58 PM
if we change python versions or we change any of the declared externs in
native.py
specifically
👍 1
h
happy-kitchen-89482
02/03/2020, 7:58 PM
OK, we can detect all those things
a
aloof-angle-91616
02/03/2020, 7:58 PM
yes
a
average-vr-56795
02/04/2020, 1:42 PM
Specifically this code computes a cache key for the native engine code:
https://github.com/pantsbuild/pants/blob/f3304438dbbc32ec41a36bc2c0ad9af95175a7c5/build-support/bin/native/bootstrap_code.sh#L38-L59
So a reasonable answer could be to keep exactly the most recent file in ~/.cache/pants/bin/native-engine in the travis cache (which we should reliably hit if nothing changed)?
Post