我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the CAFE installation package:

    tar -xvf CAFExp-5.0b2.tar.gz

  3. Run the following command to switch to the directory generated after decompression:

    cd CAFExp-5.0b2

  4. Run the following command to generate the configuration file:

    autoconf

  5. Run the following command to perform compilation and installation:

    ./configure

  6. Run the following command to modify the Makefile file:
    1. Run the following command to modify the Makefile file:

      vi Makefile

    2. 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
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  7. Run the following command to perform compilation:

    make -j 16

  8. Run the following command to set environment variables:

    export PATH=/path/to/CAFE/CAFExp-5.0b2/bin:$PATH