diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2022-07-14 17:55:46 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-07-15 13:45:55 +0200 |
commit | 16bec677aab8482a0fc9e26a4356fb5cce502e5a (patch) | |
tree | fcc1a3f818020bf22136e6f06b1833ad68f1477d /Documentation | |
parent | c78e7efa7b786f1e4170d025676a0dc69b20ad53 (diff) | |
download | openvswitch-16bec677aab8482a0fc9e26a4356fb5cce502e5a.tar.gz |
debian: Add option to build without DPDK.
Co-authored-by: Frode Nordahl <frode.nordahl@canonical.com>
Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/intro/install/debian.rst | 36 |
1 files changed, 13 insertions, 23 deletions
diff --git a/Documentation/intro/install/debian.rst b/Documentation/intro/install/debian.rst index 4024dc07a..6d2687830 100644 --- a/Documentation/intro/install/debian.rst +++ b/Documentation/intro/install/debian.rst @@ -58,38 +58,28 @@ You do not need to be the superuser to build the Debian packages. top level directory. 3. Install the build dependencies listed under "Build-Depends:" near the top of - ``debian/control``. You can install these any way you like, e.g. with + ``debian/control.in``. You can install these any way you like, e.g. with ``apt-get install``. -Check your work by running ``dpkg-checkbuilddeps`` in the top level of your OVS -directory. If you've installed all the dependencies properly, -``dpkg-checkbuilddeps`` will exit without printing anything. If you forgot to -install some dependencies, it will tell you which ones. - -4. Build the package:: - - $ fakeroot debian/rules binary +4. Prepare the package source. - This will do a serial build that runs the unit tests. This will take - approximately 8 to 10 minutes. If you prefer, you can run a faster parallel - build:: + If you want to build the package with DPDK support execute the following + command:: - $ DEB_BUILD_OPTIONS='parallel=8' fakeroot debian/rules binary + $ ./boot.sh && ./configure --with-dpdk=shared && make debian - If you are in a big hurry, you can even skip the unit tests:: + If not:: - $ DEB_BUILD_OPTIONS='parallel=8 nocheck' fakeroot debian/rules binary + $ ./boot.sh && ./configure && make debian -.. note:: - - There are a few pitfalls in the Debian packaging building system so that, - occasionally, you may find that in a tree that you have using for a while, - the build command above exits immediately without actually building anything. - To fix the problem, run:: +Check your work by running ``dpkg-checkbuilddeps`` in the top level of your OVS +directory. If you've installed all the dependencies properly, +``dpkg-checkbuilddeps`` will exit without printing anything. If you forgot to +install some dependencies, it will tell you which ones. - $ fakeroot debian/rules clean +5. Build the package:: - or start over from a fresh copy of the source tree. + $ make debian-deb 5. The generated .deb files will be in the parent directory of the Open vSwitch source distribution. |