Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to decompress the CAFE installation package:
tar -xvf CAFExp-5.0b2.tar.gz
- Run the following command to switch to the directory generated after decompression:
cd CAFExp-5.0b2
- Run the following command to generate the configuration file:
autoconf
- Run the following command to perform compilation and installation:
./configure
- Run the following command to modify the Makefile file:
- Run the following command to modify the Makefile file:
vi Makefile
- Press i to go to the edit mode and add the following content to line 7 of the file:
-march=armv8.2-a -mtune=tsv110 -flto
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Run the following command to modify the Makefile file:
- Run the following command to perform compilation:
make -j 16
- Run the following command to set environment variables:
export PATH=/path/to/CAFE/CAFExp-5.0b2/bin:$PATH
Parent topic: CAFE 5.0b2 Porting Guide (CentOS 7.6)