[ovs-git] [openvswitch/ovs] 5d1877: travis: Fix build with --enable-shared and DPDK 2....

GitHub noreply at github.com
Wed Sep 9 17:08:21 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 5d1877e0343a6ad8bf704a4ed02d168dc0b3780b
      https://github.com/openvswitch/ovs/commit/5d1877e0343a6ad8bf704a4ed02d168dc0b3780b
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-09-09 (Wed, 09 Sep 2015)

  Changed paths:
    M .travis/build.sh

  Log Message:
  -----------
  travis: Fix build with --enable-shared and DPDK 2.1.

When building OVS with --enable-shared, -fPIC should be used in DPDK
CFLAGS.  We used to add a custom option for this (CONFIG_RTE_BUILD_FPIC)
to the DPDK configuration, right after CONFIG_RTE_LIBNAME.

Since CONFIG_RTE_LIBNAME has been removed, it seems simpler to add our
custom option at the end of the file.

Furthermore, since vhost support is enabled by default in DPDK 2.1 and
vhost-user is OVS primary target, there's no need to customize the vhost
related option anymore.

Tested-at: https://travis-ci.org/ddiproietto/ovs/builds/79451461

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list