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 12.1 platform.
Download (HTTP): https://github.com/linux-nvme/libnvme/archive/refs/tags/v1.8/libnvme-1.8.tar.gz
Download MD5 sum: ff72b83dc2ada1da0bd528570154eed3
Download size: 616 KB
Estimated disk space required: 13 MB
Estimated build time: 0.1 SBU (including tests)
Install libnvme by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release -Dlibdbus=auto .. && ninja
To run the tests, issue: ninja test.
Now, as the root
user:
ninja install