aboutsummaryrefslogtreecommitdiffstats
path: root/build-root
AgeCommit message (Collapse)AuthorFilesLines
2016-06-15Fix generate-deb-changelog to handle YY.MM releasev16.06stable/1606Ed Warnicke1-1/+1
generate-deb-changelog was only properly handling x.y.z releases. This patch fixes it to handle YY.MM. Change-Id: Iaaee8ff747abd6754d021535c889f67ad2c9998f Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-09VPP-127 Removed spurious use of sudoEd Warnicke2-2/+2
Change-Id: I1eb18fc6379db30fb802e3b929931788f54e7dc2 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-09VPP-127: Make rpm/deb provide vpp group to access vpp-apiEd Warnicke2-0/+8
Change-Id: I005f971ec5bfbffc5ddd392ff5ae829186b2bf18 Signed-off-by: Ed Warnicke <eaw@cisco.com> (cherry picked from commit 1f9933d9f0c4615334f4af168dc063a7f1f2d649) Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-08VPP-129: Add build-root/scripts/csit-test-branch scriptEd Warnicke1-0/+2
This script returns the csit branch that should be used for testing and verification. Related to csit patch: https://gerrit.fd.io/r/#/c/1344/ Change-Id: I51e44e4ba4dc433056ac8a870f8b7c7f9518189b Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-08VPP-124: Fix rpms to work out of the box.Ed Warnicke2-1/+3
Currently, for vpp we are not building any rpms for dpdk or igb_uio. This is because uio_pci_generic as shipped with centos works with vpp. However, our vpp rpms do not install kernel module uio_pci_generic at start up and the /etc/vpp/startup.conf does not configure vpp to use uio_pci_generic. vpp rpms should do both, so that when the vpp rpm is installed and vpp started, it just works out of the box. This patch fixes the rpms to do so. Change-Id: Ib934b51f9271cded466d235aa4044bef75c35960 Signed-off-by: Ed Warnicke <eaw@cisco.com> (cherry picked from commit 40c66394280365ed6b1c5b8f569254f668f80cdb)
2016-06-05VPP-112: linux kernel info missing from build logDave Wallace1-0/+9
Change-Id: I343418d409d682b00e74e41236382fdc6b3c780c Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-06-03VPP-107 Fix for mistake that breaks pkg-rpm inEd Warnicke1-0/+1
https://gerrit.fd.io/r/#/c/1338/ Change-Id: I8b7fffe24cbeb435b18faaada9ef1cea9fd93d39 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-31Fix build-root/scripts/version to not have spurious ~Ed Warnicke1-3/+2
Change-Id: Id28f134e3a4aa19c5756014d53004501db0d0c88 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-16Add build number to VPP version if BUILD_NUMBER var is setDamjan Marion1-2/+6
Change-Id: I73ecc12224fdfb08b7aa6118761b368577ce33d5 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-05-16VPP-64: Fix top-level "make pkg-deb" which breaks if CDPATH is set in the user'sDave Wallace1-0/+9
bash environment. Change-Id: Ib13e6fdafa67175937e57fad4e75e553cb1e08a3 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-05-13Whitespace probe for CIEd Warnicke1-1/+1
Change-Id: I3744ee19a21dcea2885aef2800244c93aa19763a Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-12Revert "Whitespace change for testing CI"Ed Warnicke1-1/+1
This reverts commit cf9b712f57e3e81662e0815bd19ce19583783650. This reverts gerrit: https://gerrit.fd.io/r/#/c/1078/ Change-Id: I4cf8c238fd81b5dc8bd077bbdd00cf72aef796ed Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-12Whitespace change for testing CIEd Warnicke1-1/+1
Change-Id: I52bf3c1c8ece08a4b52fce1f34704b944f9c1888 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-07Small improvement to vagrant fileEd Warnicke1-5/+5
Change-Id: Ia85ed0ef55cb5da118289667d7b217d8890d487e Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-04VPP-12: only remove vpp-related files from /dev/shmDave Barach2-4/+4
Change-Id: I1b6983a6d23d3d2635814cdd307efa25cd5c8b7b Signed-off-by: Dave Barach <dave@barachs.net>
2016-05-04Fix for unattended in MakefileEd Warnicke1-0/+12
Also works around verify Change-Id: I79ac470ec3fa9943c3a0913ebfaaf91176eb9a81 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-02Re-do java-8 handling, add unattended switch to toplevel MakefileDamjan Marion1-1/+1
Change-Id: Ifaea353be5b42bb6edbcfa0506d02b721c00e392 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-05-02Break out install.sh from build.shEd Warnicke3-2/+31
This is necessary because we are now using build.sh for CI... and we shouldn't install packages on CI boxes. Change-Id: I68f7880dfc75bbc4aa278ab0765a43e3fb899f3d Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-02VPP-32 Increase # cpus to 2, leave RAM at 4G for virtualbox vagrant usersKeith Burns (alagalah)1-1/+3
Change-Id: Ifb40316db96e019d6c14ff6a6e9653579009d4c3 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-04-26Make automake silent rules defaultDamjan Marion1-1/+1
Change-Id: Ia504ccdac1deac20f20cf7fb76f78b2d8c505474 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-04-25Break boostrap.sh into piecesEd Warnicke8-111/+132
In order to make it easier for folks who have existing Centos or Ubuntu boxes to utilize the same 'Getting started' scripting that is used in Vagrant, as well as enable us to use that scripting in CI, broke up bootstrap.sh into update.sh - Things like apt-get update build.sh - Install any dependencies and build vpp clearinterfaces.sh - Clean off any non-default gateway interfaces. Used by vagrant. run.sh - Start vpp as a service on the box. A user (or CI) just wanting to get going and build on an existing Ubuntu or Centos image (ie, not via vagrant) can simply run build.sh Change-Id: I8f19342f163cad07c6c05def943a5fb8e394b879 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-22Add clib_memcpy macro based on DPDK rte_memcpy implementationDamjan Marion1-1/+1
Change-Id: I22cb443c4bd0bf298abb6f06e8e4ca65a44a2854 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-04-20ubuntu 16.04 build support. Supporting systemd with vpp.service files.Srivatsa Sangli4-2/+55
Incorporating review comments : modified debian/control dependencies Change-Id: Ib2fe85d81eb7f1803ef8f54294c7c18cd07c61ba Signed-off-by: Srivatsa Sangli <srivrama@cisco.com>
2016-04-11vagrant: libvirt configuration.Jeff Shaw1-2/+6
Configure the proxy, vcpu, and memory parameters for the libvirt provider. Change-Id: Id662e60f76b4b424d3a5d98929a44ef2587ef258 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-04-09Migrate bootstrap.ubuntu.sh to using top level MakefileEd Warnicke1-57/+12
This script moves to using the top level Makefile in vagrant. The reason for not merging yet is to make sure that we don't put the training at risk. The patch should be fine (its been tested), but better safe than sorry. Change-Id: Ic57cfe1f26867c820784e5511d418e68f24b5fcd Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-03-30Remove historical tags, fix the debug tagDave Barach1-22/+4
Change-Id: I013784aeef5ae6b5ba4a30c7759e9daff3c2c576 Signed-off-by: Dave Barach <dave@barachs.net>
2016-03-29Fix to centos vagrant fileEd Warnicke1-2/+2
Change-Id: I5ceae4354c029cb92527b2eeb1a71b76dc2b0311 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-03-28event logger skeletons, improve debug CLIDave Barach5-0/+132
Change-Id: Ieb2e4043fc7bc3b4a5436a7a6aa35f573d8d4506 Signed-off-by: Dave Barach <dave@barachs.net>
2016-03-25Fix distclean to correctly handle CentosEd Warnicke1-1/+2
Change-Id: I3f930306e9f384011687d2ce88052639df0d966b Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-03-25Fix vagrant centos flavor to work with top level make fileEd Warnicke2-55/+31
Change-Id: I89044ed27130a036536ed33aba847034ed15ad7d Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-03-24Reduce number of parallel gcc invocations from 4 to 2 per cpuDamjan Marion1-1/+1
Some build hosts can run out of memory during compilation. This should reduce memory demand without affecting build time. Change-Id: I11bd2884a1f8885a8a332bbbf0a63324a3079c3b Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-03-19Adminis-trivia - rename skel filesKeith Burns (alagalah)20-35/+35
- rename skels so M-x skel-<tab> gives catalog Change-Id: Ice25a4ce4d02d09e076f0de51e8443cfab20688d Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-03-16Add VLIB_INIT_FUNCTION() to dual-loop-skelDave Wallace1-0/+13
Change-Id: I4aafad8a3e4c0c57eef1940fac8debfb80bbb137 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-03-14Fix skel files to use <vppinfra/*.h> instead of <clib/*.h> whenDave Wallace4-9/+8
including vppinfra header files. Change-Id: I961c602e0ccd2048fac633b5aeebb8c3cd0899fb Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-19Add GDB and GDB Server to bootstrap filesKeith Burns (alagalah)2-1/+5
Validated following images used do not contain gdb, gdbserver: puppetlabs/centos-7.0-64-nocm puppetlabs/ubuntu-14.04-64-nocm Note that centos7 does not include emacs Change-Id: I091a64a7c667e081574763537de724f9feaae0dc Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-02-04Remove redundant apt-get install of dkms and debhelper.Dave Wallace1-3/+0
Change-Id: Id2caea331f86a71f26990e1ae11288826157e737 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-04Change non-default route ethernet interfaces state to down so VPP will use them.Dave Wallace1-0/+12
Change-Id: Icdb1a8d35a97e01d5e1be13fdc89ce3f9ec62e1a Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-02-03Switched vagrant for ~/git/vpp to /vppEd Warnicke3-7/+25
build-root/vagrant/Vagrantfile was always mounting the vpp into /vpp Now rather than cloning it and building, we just use it as mounted. In order to let folks know what happened, a README.moved is copied into the ~/git/vpp so folks know what happened. In addition to make it easier for folks to do commits from withing the vagrant, we install git-review, and copy in the users .gitconfig and .gnupg directory. A couple of notes about this. VMWare goes much much faster in all cases. Virtualbox is a bit slower in the very first run (without ccache). One of the benefits of using the mounted /vpp though is that after your first vagrant up, you always have access to the .ccache, as it lives outside the vagrant, and so in steady state everything is faster. Change-Id: I2cd2c28181b3d7e664240dfe2249b5be3f1b9241 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-02-02Enabled CCACHE_DIR to be set by ENV VariableEd Warnicke1-1/+3
Change-Id: I0098f995b1f75bbad5c448d5a0d8facc43e6f5cb Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-02-02Add pciutils to the CentOS vagrant bootstrap; needed to install vpp rpmsDave Barach1-0/+3
Change-Id: Ia0cbf88a509392c1bd75fb242985da07c8356739 Signed-off-by: Dave Barach <dave@barachs.net>
2016-02-02Enable ganglia module integration buildDave Barach1-0/+8
Change-Id: Ia49e9f246e8318ba74195c3397472fb0c102389b Signed-off-by: Dave Barach <dave@barachs.net>
2016-02-01Add a vpp-dpdk-dev package, enable plugins to use dpdk APIs directlyDave Barach3-8/+29
Change-Id: I69db06a0b5d5d556c2fd570ea0056bb59d7bc3d6 Signed-off-by: Dave Barach <dave@barachs.net>
2016-02-01Changes to Centos bootstrap to remove ~/git/vpp if it exists before ↵Keith Burns (alagalah)1-1/+2
attempting clone - fixes issue with vagrant reload --provision not updating clone of clone Change-Id: I506d4cbca90b30bf787c1be7e4ad39d748ea7f5b Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-02-01Vagrantfile doesn't rm git/vpp and vagrant reload --provisionKeith Burns (alagalah)1-1/+3
result is not expected. ie don't get updates - only applied ubuntu changes in this patch. Change-Id: I194f5120734d63f1b815f86bb510f0c0981dd89b Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-01-28vpp metrics upload via gmond pluginDave Barach1-1/+1
The gmond module (gmod) isn't built by default, pending CentOS packaging work. Change-Id: I78493a60f431cf9924a28d31ba29423a03aa79b3 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-27Allow CCACHE_DIR to be overridden, e.g. from .../build-root/build-config.mkDave Barach1-1/+6
Change-Id: I9f2afa31c061b658e45ebbc16d01a6c118993116 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-25Fix rpm packaging bit-rotDave Barach2-0/+2
Change-Id: Ia710b0773984891ee18c6c0558cc09b984043e38 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-22aarch64 CPU arch / ThunderX platform initial supportDave Barach1-4/+13
Change-Id: Ia2edd3cee2c25c26c7c47a9023744b97226434c7 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-20Rename vpe binary name to avoid collision with latexDamjan Marion5-12/+12
Change-Id: I34a46b9ebbc0e36486fbef528b34ea1c3be2e8be Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-19Shell script to run the emacs-skeleton plugin boilerplate generatorDave Barach1-0/+4
Change-Id: I9b4d0faad20e8cad1ab347d3f3f7d2c063e3d495 Signed-off-by: Dave Barach <dave@barachs.net>