From The Document Foundation Wiki
If you leave the virus scanner active you must add an exception list containing at least
- <git home>/workdir
otherwise the build will fail. We have noticed that running a virus scanner whilst building often increases build time, sometimes by more than 30%.