Cleaning the Build - UG1668

SDN Policy Offload Reference Pipeline User Guide (UG1668)

Document ID
UG1668
Release Date
2024-02-15
Revision
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/build.sh --p4_program sdn_policy_offload --clean