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

21 Commits

Author SHA1 Message Date
Ethan Jackson
97695cf7e6 ovs-dev.py: Support running the clang binaries.
They have slightly different support characteristics, so it's nice to
easily switch between them for testing.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Daniele Di Proietto <ddiproietto@vmware.com>
2014-09-16 21:35:01 -07:00
Ethan Jackson
1bcf46c62e ovs-dev.py: Support additional optimization flags.
They may or may not make a difference, but there's no reason not to
support passing them.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Daniele Di Proietto <ddiproietto@vmware.com>
2014-09-16 21:35:01 -07:00
Daniele Di Proietto
3bacde2a1f ovs-dev.py: do not pass --enable-dummy to ovsdb
--enable-dummy was useless anyway for ovsdb-server. Now it is an error to pass
it.

Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
2014-09-15 14:33:53 +12:00
Ethan Jackson
c0b0b0969c ovs-dev.py: Support check-valgrind in the Makefile.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
2014-08-05 14:13:20 -07:00
Joe Stringer
6a223e8ee9 ovs-dev.py: Add option to run tests in parallel.
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
2014-06-04 14:07:41 +12:00
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