The libnvme package is a library which provides type definitions for NVMe specification structures, enumerations, and bit fields, helper functions to construct, dispatch, and decode commands and payloads, and utilities to connect, scan, and manage NVMe devices on a Linux system.
This package is known to build and work properly using an LFS 13.0 platform.
Download (HTTP): https://github.com/linux-nvme/libnvme/archive/v1.16.1/libnvme-1.16.1.tar.gz
Download MD5 sum: 64207c770523f2817a6482d5103cf809
Download size: 820 KB
Estimated disk space required: 32 MB
Estimated build time: 0.1 SBU (including tests)
JSON-C-0.18, keyutils-1.6.3, and SWIG-4.4.1 (to generate the Python bindings)
Install libnvme by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release -D libdbus=auto .. && ninja
To run the tests, issue: ninja test.
Now, as the root user:
ninja install