Rate This Document
Findability
Accuracy
Completeness
Readability

Plugin Compilation

Compile the Kunpeng TAP source code and generate a plugin executable file.

  1. Obtain the Kunpeng TAP source code of the latest version release-0.2 on the Tags tab.
    1
    git clone --branch release-0.2 https://gitee.com/kunpeng_compute/topo-affinity-plugin.git
    
  2. Go to the topo-affinity-plugin directory and run the script for building the plugin.
    1
    2
    3
    cd /path/to/topo-affinity-plugin
    go mod tidy
    make build
    

    In the preceding command, /path/to/topo-affinity-plugin indicates the path to the plugin source code. Replace it with the actual path.

    After the build is complete, ensure that the kunpeng-tap binary file is generated in the bin directory.