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:
- Change directory to the main folder for build
scripts:
cd /sw/nic
- Clean the build
directory:
ARCH=x86_64 ./tools/build.sh --p4_program flow_offload --clean