From: Ethan Jackson Date: Wed, 22 Jan 2014 19:06:23 +0000 (-0800) Subject: ovs-dev.py: Only build the Linux datapath with GCC. X-Git-Tag: v2.3~741 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=a3ea1821d67e7dc8af32d7a55b5857014ec4583f;p=cascardo%2Fovs.git 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 Acked-by: Joe Stringer --- diff --git a/utilities/ovs-dev.py b/utilities/ovs-dev.py index e8280ffd6..3f32e580f 100755 --- a/utilities/ovs-dev.py +++ b/utilities/ovs-dev.py @@ -62,7 +62,6 @@ def conf(): configure = ["../configure", "--prefix=" + ROOT, "--localstatedir=" + ROOT, "--with-logdir=%s/log" % ROOT, "--with-rundir=%s/run" % ROOT, - "--with-linux=/lib/modules/%s/build" % uname(), "--enable-silent-rules", "--with-dbdir=" + ROOT, "--silent"] if options.werror: @@ -86,7 +85,7 @@ def conf(): pass # Directory exists. os.chdir(BUILD_GCC) - _sh(*configure) + _sh(*(configure + ["--with-linux=/lib/modules/%s/build" % uname()])) try: _sh("clang --version", check=True)