support repo-sync as a compilation target