-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to build debug version #10
Comments
could you provide more details about what needs to be done ? I couldn't find an example of this command used in vpp-agent or contiv-vpp. |
We are not doing it this way at the moment. We were just planning to and since you started working on this we are considering using this as base image in the future. At the moment we workaround this by executing VPP debug executable right from build-root: The reason why I'm suggesting to add some option to build .deb packages for debug version of VPP is that with this method we can use VPP in debug mode on some production images without compromising source code or whole VPP build. |
Just to inform you guys. We just implemented a way to build and run VPP in debug or release mode: ligato/vpp-agent#473 Here's the part of code that builds debug/release mode: https://github.com/ligato/vpp-agent/blob/pantheon-dev/docker/dev_vpp_agent/Dockerfile#L38-L44 Documentation for usage:
CC @unclejack |
Currently you are building just release version of VPP. However it is often useful to run debug version of VPP. Could you add some option to build debug version as well?
The make target for building debug version is
make build
and to build .deb packages for debug version you need to runcd build-root && make PLATFORM=vpp TAG=vpp_debug install-deb
.The text was updated successfully, but these errors were encountered: