ironcore-dev / dpservice

DPDK based fast Dataplane / L3 router / SDN enabler, installable on compute nodes / SmartNICs
Apache License 2.0
7 stars 1 forks source link

Fix main build workflow #572

Closed PlagueCZ closed 3 months ago

PlagueCZ commented 3 months ago

There was a missing #include <stdlib.h> for ARM that broke the build.

There was also a "fatal error" that was actually not treated as an error, but indicated an empty version string when building main with no tags n the current commit (This is caused by the fact that main build uses git clone --depth 1).

So now version string gets always populated, even if that means it does not contain any version, but at least it is a commit-id instead of an empty string.

This is not just a cosmetic change, because for dpservice-cli this actually caused dpservice-cli -v to not work at all (the switch never gets compiled-in in that case)