Commit Graph

4 Commits

Author SHA1 Message Date
Khem Raj
2f36fb71c9 pmdk: Fix packaging errors when building on non-x86 host
Fixes
ERROR: QA Issue: pmdk: Files/directories were installed but not shipped in any package:
  /usr/x86_64-linux-gnu
  /usr/lib/pmdk_debug/libpmemobj.so.1
  /usr/lib/pmdk_debug/libpmemblk.so.1
  /usr/lib/pmdk_debug/libvmem.so.1
  /usr/lib/pmdk_debug/libvmmalloc.so
  /usr/lib/pmdk_debug/libpmempool.so

....

  /usr/x86_64-linux-gnu/include/libpmemobj/iterator_base.h
  /usr/x86_64-linux-gnu/include/libpmemobj/tx_base.h
  /usr/x86_64-linux-gnu/include/libpmemobj/base.h
  /usr/x86_64-linux-gnu/include/libpmemobj/lists_atomic_base.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-06 12:04:33 -07:00
Khem Raj
b44a72a07e pmdk: Fix libdir which is multi-lib aware
OE use 'lib' even on x86_64 when building with multilib support disabled
and used 'lib64' with multilib

This fixes packaging errors e.g.

pmdk-1.6: pmdk: Files/directories were installed but not shipped in any package:
  /usr/lib64/libpmem.so.1.0.0
  /usr/lib64/libpmemblk.so.1.0.0
  /usr/lib64/libpmemlog.so.1.0.0
  /usr/lib64/libpmemobj.so.1.0.0
  /usr/lib64/libvmem.so.1.0.0
....

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-21 09:40:20 -07:00
Yongxin Liu
ef290c5432 pmdk: update from 1.4.2 to 1.6
1) Use git repo instead of github archive tarball.
2) PMDK libraries can be installed in lib or lib64, depending on
   host building system. If host has /usr/local/lib64, libraries will
   be installed in lib64, otherwise they will be installed in lib.
   PMDK is only for 64-bit system, so use LIB_PREFIX=lib64 to force
   the install path to be lib64.
3) Use prefix instead of PREFIX to install.
4) Remove unneeded files in /usr/lib64/pmdk_debug.
5) Add "/usr/etc" and "/usr/share" to fix package QA issue.
6) Revise patches for version 1.6. Remove upstream accepted patches.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-21 09:31:09 -07:00
Alistair Francis
ec81952234 pmdk: Initial commit of the PMDK SDK
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-12 21:14:26 -07:00