Cleaning the Build

IPsec_GW Reference Pipeline User Guide (UG1671)

Document ID
UG1671
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 ipsec_gw --clean