Currently, the astyle build is failing due to sourceforge.net downloads
failing. Move the git submodule update before that since it's more
critical.
Change-Id: Ibbf32759eed0f557652de41e7bfec6e8a3058772
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/380532
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I975b5571433fdc1ba1914869fff215db70b31e83
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/379574
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Change-Id: I9b279803a9501d6f9486cf6927a50998ce2207b7
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/378833
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Piotr Pelpliński <piotr.pelplinski@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
It is small and quick enough to just build the version of astyle we
need.
Only build astyle when configured to use GCC, since the astyle Makefile
is hard-coded to use g++, and we don't need to check style twice anyway.
Change-Id: I9c61bcac80b581f6d72ed7fbc337c5681bf014fc
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
As of commit 6e2d7be8a1 ("vhost: add copy
of virtio headers"), we bundle the appropriate headers that were causing
the Travis-CI build to fail, so re-enable vhost in the Travis build.
This reverts commit 2d0246da83.
Change-Id: Ib52f66c91264aee138e420606ae1f16824aa3c10
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
The virtio_scsi.h header is not available in the version of
linux-libc-dev shipped with Ubuntu Trusty.
Change-Id: I442f2cfc160b166b56b3c0b6f2f3ff02df971abb
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
The Travis container-based infrastructure has 2 cores, so use multiple
make jobs to take advantage of this and shorten the build.
Change-Id: Ib0fa7d25d23109f201b4d25f85d5fba44e026d13
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
The unittest.sh script now assumes that the build has already completed
before it is run.
Change-Id: I814b7bf462e8596986b80fe31a93c26c82db7d57
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Configure DPDK to not build any kernel modules and therefore not
require the installation of kernel headers.
Change-Id: Iff6aa3da31139c0774a15e453e34182ef3f48106
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
The Travis CI container-based apt whitelist only includes the specific
linux-headers-3.13.0-40-generic package, not the generic
linux-headers-generic package.
Change-Id: I475908bc66194e08bf14861ada0897c06a1c7108
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Change the unittest.sh script to assume that all dependencies are
available and just build the entirety of SPDK from the root directory.
Change-Id: I394fe0cdfe25373c030b2769dd19c1a9827510c3
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Use the container-based travis-ci.org infrastructure to run only the unit
tests.
Change-Id: I4f7d011edb07341a668fa6fea495f6eb2a9c029b
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>