chen3feng / blade-build

Blade is a powerful build system from Tencent, supports many mainstream programming languages, such as C/C++, java, scala, python, protobuf...
Other
2.05k stars 500 forks source link

Add profile-guided optimization support #1003

Closed angrygiraffe closed 1 year ago

angrygiraffe commented 1 year ago

Add two profile-guided optimization realated command line arguments, '--profile-generate' and '--profile-use'. Please refer to the reference https://gcc.gnu.org/onlinedocs/gcc-10.1.0/gcc/Instrumentation-Options.html for details.