Created by: zhouwei25
PR types
Performance optimization
PR changes
Others
Describe
If keep build dir cache, the compilation will be fasted a lot, the following measures have been taken to reduce risk :
- Judge whether remove build dir to accelerate compile. Any commits that change compilation organization will not use the build cache.
- The first commit of each day will not use the build cache.
- Add switch
WITH_CACHE
to control whether to use the build cache.