Rate This Document
Findability
Accuracy
Completeness
Readability

Scanning the Source Code

Prerequisites

  • The Kunpeng DevKit CLI and its subtool, Porting Advisor, have been installed on the Kunpeng platform.
  • An SSH remote login tool has been installed on the local PC.

Procedure

  1. Download the source package smartdenovo-master.zip from GitHub.
  2. Upload the software package to the user-defined directory (for example, /home/devkit_demo) on the Kunpeng server where the Kunpeng DevKit CLI is deployed. Then extract the package.
    cd /home/devkit_demo/ && unzip smartdenovo-master.zip
  3. Use the DevKit CLI to scan the uploaded software package.
    devkit porting src-mig -i /home/devkit_demo/smartdenovo-master -b make -c make

    The following information is displayed. The tool generates JSON, CSV, and HTML reports.

  4. View the source code porting report (HTML format).
    Figure 1 Porting report