Skip to contentSkip to conversation

doc: announce support of Alpine Linux

PATCH Applied Thomas Monjalon 1 participant 2 messages Apr 17, 2021 – Apr 21, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: announce support of Alpine Linux

After many patches in several releases to make DPDK buildable with musl, and few adjustments for busybox, it is time to show the support of DPDK built in Alpine Linux.

---
 doc/guides/linux_gsg/sys_reqs.rst      | 8 +++-----
 doc/guides/rel_notes/release_21_05.rst | 5 +++++
 2 files changed, 8 insertions(+), 5 deletions(-)
doc/guides/linux_gsg/sys_reqs.rst +3 -5
index dfe8f4ef3b..6994038d45 100644
@@ -40,31 +40,29 @@ Compilation of the DPDK
 *   General development tools including a supported C compiler such as gcc (version 4.9+) or clang (version 3.4+).
 
     * For RHEL/Fedora systems these can be installed using ``dnf groupinstall "Development Tools"``
-
     * For Ubuntu/Debian systems these can be installed using ``apt install build-essential``
+    * For Alpine Linux, ``apk add gcc libc-dev bsd-compat-headers libexecinfo-dev``
 
 *   Python 3.5 or later.
 
 *   Meson (version 0.49.2+) and ninja
 
     * ``meson`` & ``ninja-build`` packages in most Linux distributions
-
     * If the packaged version is below the minimum version, the latest versions
       can be installed from Python's "pip" repository: ``pip3 install meson ninja``
 
 *   ``pyelftools`` (version 0.22+)
 
     * For Fedora systems it can be installed using ``dnf install python-pyelftools``
-
     * For RHEL/CentOS systems it can be installed using ``pip3 install pyelftools``
-
     * For Ubuntu/Debian it can be installed using ``apt install python3-pyelftools``
+    * For Alpine Linux, ``apk add py3-elftools``
 
 *   Library for handling NUMA (Non Uniform Memory Access).
 
     * ``numactl-devel`` in RHEL/Fedora;
-
     * ``libnuma-dev`` in Debian/Ubuntu;
+    * ``numactl-dev`` in Alpine Linux
 
 .. note::
 
doc/guides/rel_notes/release_21_05.rst +5 -0
index 83f06392af..12215effc6 100644
@@ -55,6 +55,11 @@ New Features
      Also, make sure to start the actual text at the margin.
      =======================================================
 
+* **Added Alpine Linux with musl libc support**
+
+  The distribution Alpine Linux, using musl libc and busybox,
+  got initial support starting with building DPDK without modification.
+
 * **Added phase-fair lock.**
 
   Phase-fair lock provides fairness guarantees.
Signature · 1 line
2.31.1
author Applied
#1 lore raw

18/04/2021 00:16, Thomas Monjalon:

Quoted 5 lines

After many patches in several releases to make DPDK buildable with musl, and few adjustments for busybox, it is time to show the support of DPDK built in Alpine Linux.

Applied