Cleaning the Build

SDN Policy Offload Reference Pipeline User Guide (UG1668)

Document ID
Release Date
1.1 English

You must clean the current build before doing any of the following:

  • Building a P4 program for the first time.
  • Building a different P4 program.
  • Switching between x86 and Arm targets.

To do so:

  1. Change directory to the main folder for build scripts:
    cd /sw/nic
  2. Clean the build directory:
    ARCH=x86_64 ./tools/ --p4_program sdn_policy_offload --clean