use acceleration on private build machine
The following tutorial will guide you through how to use the acceleration solution in the native build machine after you have successfully customized it
Step1 First install the Accelerator kit on the machine (do this using root)
Step2 Copy the acceleration scheme ID
Step3 Use the acceleration tool to start acceleration
For example, the original compiled script is:
Use the tool installed in Step 1, combined with the scenario ID in Step 2, to perform the acceleration:
The bk-booster is the accelerator provided by the plug-in to start the acceleration. Parameter meanings in the command are
-bt cc: cc is used for c/ C ++ compilation on linux.
-p < Acceleration program ID> , specify the scheme ID.
--hook, open the hook command, will automatically hijack gcc/clang and other compilers to achieve acceleration.
-a "make -j@BK_JOBS gamesvr", specifying the compile command to execute, with @BK_JOBS as a placeholder, automatically replaced at run time with the recommended amount of concurrency.
Last updated