use rsync to sync cache and build for deps