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.0 platform.
Download (HTTP): https://github.com/linux-nvme/libnvme/archive/refs/tags/v1.5/libnvme-1.5.tar.gz
Download MD5 sum: 8289e988a3244a35cc326aa564a7a727
Download size: 556 KB
Estimated disk space required: 9.0 MB
Estimated build time: less than 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