Similar to the kernel requires CONFIG_ARCH_HAS_PMEM_API for pmem support, userspace requires libpmem which to date is only packaged for x86_64.
Cc: Dave Jiang <[email protected]> Signed-off-by: Dan Williams <[email protected]> --- ndctl.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ndctl.spec.in b/ndctl.spec.in index cf0fcc3e76ea..4aa133dd70aa 100644 --- a/ndctl.spec.in +++ b/ndctl.spec.in @@ -20,7 +20,9 @@ BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(json-c) BuildRequires: pkgconfig(bash-completion) +%ifarch x86_64 BuildRequires: pkgconfig(libpmem) +%endif %description Utility library for managing the "libnvdimm" subsystem. The "libnvdimm" @@ -91,7 +93,11 @@ control API for these devices. %build echo "VERSION" > version ./autogen.sh +%ifarch x86_64 %configure --disable-static --enable-local --disable-silent-rules --with-libpmem +%else +%configure --disable-static --enable-local --disable-silent-rules +%endif make %{?_smp_mflags} %install _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
