Installing A-FOT
Download A-FOT code and modify compilation parameters to meet the automatic FDO requirements.
- Download A-FOT code from Gitee.
1git clone https://gitee.com/openeuler/A-FOT.git

If "SSL certificate problem: self signed certificate in certificate chain" is displayed when the A-FOT code is being downloaded, you can disable SSL verification to resolve this issue.1git config --global http.sslVerify false
You can also use the Yum source to install A-FOT. In this method, the default installation path is /usr/bin/.1yum install A-FOT
- Modify compilation parameters.
- Open the following file:
1vi A-FOT/auto_bolt.sh - Press i to enter the insert mode and add the following contents to the file:
1-fbolt-option=-reorder-blocks=cache+,-reorder-functions=hfsort,-split-all-cold,-split-eh,-dyno-stats
The following figure shows the modification result:

- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open the following file:
Parent topic: Installing the GCC FDO Component