2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-29 13:27:59 +00:00

16 Commits

Author SHA1 Message Date
Joe Stringer
de146e5db5 ovs-dev.py: Add option to specify which tests to run.
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
2014-06-04 14:01:16 +12:00
Daniele Di Proietto
1a90b8392b ovs-dev.py: add option to run with dpdk
Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
2014-05-29 13:02:53 -07:00
Ethan Jackson
25dfecf887 ovs-dev.py: Add support for dpdk builds.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
2014-05-08 17:41:21 -07:00
Ben Pfaff
6d616e9906 ovs-dev.py: Update repository location.
The Open vSwitch repository has moved to Github.

CC: Ethan Jackson <ethan@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
2014-04-08 16:56:21 -07:00
Ethan Jackson
a3ea1821d6 ovs-dev.py: Only build the Linux datapath with GCC.
In practice, Linux kernel modules are only built with GCC, so it
doesn't make much sense to spend time compiling them with clang.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
2014-01-24 17:33:29 -08:00
Ethan Jackson
743f810972 configure: Enable silent rules.
Configure has an option which supports quieter compilation.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
2014-01-22 10:40:28 -08:00
Ethan Jackson
e740cdbc45 ovs-dev.py: Configure silently.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
2014-01-22 10:40:27 -08:00
Ethan Jackson
a2a2ac7b1e ovs-dev.py: Add compiler optimization options.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
2014-01-22 10:40:08 -08:00
Ethan Jackson
6e4ffd03cc ovs-dev.py: Add "-fno-omit-frame-pointer" compiler argument.
This makes it easier for development tools including "perf", give
clean backtraces on x86-64 systems.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
2014-01-22 08:50:39 -08:00
Ethan Jackson
294a55509b ovs-dev.py: Pass leak-check=full to valgrind.
This valgrind leak checker isn't really useful without this.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
2013-12-23 12:27:15 -08:00
Ethan Jackson
30fbc7b61c ovs-dev.py: Build with both GCC and Clang.
Many deployments prefer to use gcc in production and it supports
sparse, while clang supports thread safety analysis and has
more/better warnings and error messages.  This patch changes
ovs-dev.py to build with both so that developers are unlikely to miss
something that one or the other could catch.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
2013-12-12 15:21:15 -08:00
Saurabh Shah
3a5ded905b ovs-dev.py: Remove duplicate name from the help string.
Signed-off-by: Saurabh Shah <ssaurabh@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
2013-11-11 14:17:35 -08:00
Ethan Jackson
1e0879aacd ovs-dev.py: Use custom suppressions when running valgrind.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
2013-07-29 15:30:22 -07:00
Ethan Jackson
47e501e172 ovs-dev.py: Add support for clang builds.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
2013-07-29 14:13:07 -07:00
Ethan Jackson
edfe54d09e ovs-dev.py: Rely on configure for warning options.
Both -Wall and -Wextra are handled by autoconf, so there's no longer a
need for ovs-dev.py to pass them through CFLAGS.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
2013-07-29 14:13:07 -07:00
Ethan Jackson
fef5244f6f utilities: New helper script ovs-dev.py.
ovs-dev.py is a script I've written to help perform common tasks
necessary for developing Open vSwitch.  It allows a developer to
configure, build, and run the switch with a minimum of effort or
knowledge of the various idiosyncrasies involved.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
2013-07-09 15:05:06 -07:00