Commit Graph

20 Commits

Author SHA1 Message Date
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Richard Purdie eac1f5b9c0 recipes: Fix variable assignment whitespace
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-20 08:46:56 -07:00
Ross Burton 461fa96157 pmdk: don't inherit autotools
This upstream does not in fact use autotools, so remove the inherit.

Also remove the redundant cmake-native DEPENDS, as this upstream doesn't
use cmake either.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-19 11:37:47 -07:00
Wang Mingyu 76025e2744 pmdk: upgrade 2.1.0 -> 2.1.1
License-Update:
 change LICENSE to LICENSE.txt
 Copyright year updated to 2025.
 fix license to follow SPDX format

Changelog:
===========
- remove non-Linux support from all compilation paths (OS_KERNEL_NAME)
- add an aarch64 cross-compilation (requested by DAOS)
- mute error messages when transactions are intentionally aborted
- mute error message "Cannot find any matching device, no bad blocks found" when PMDK is used without PMem

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:56 -08:00
Wang Mingyu 9bd2f75677 pmdk: upgrade 2.0.0 -> 2.1.0
Changelog:
==========
Introduces the new logging subsystem in the release build for all libraries
Introduces fuses against ill-considered use of NDCTL_ENABLE=n
Does not allow create PMEMOBJ pool without unsafe shutdown counter (USC) if not explicitly disabled.
Drops support for building without libpthread (NO_LIBPTHREAD build-time define)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-07 09:12:00 -07:00
Khem Raj affd76bde2 pmdk: upgrade 1.12.1 -> 2.0.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-06 08:47:16 -08:00
Khem Raj 9118fa842a pndk: Add missing dependency on native cmake
3rd party dependency miniasync needs cmake to build, its invoked by top
level make.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-04 08:45:47 -08:00
Khem Raj 38925c0f8d pmdk: Upgrade to 1.12.1
Add a patch to fix build with clang16

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-02 17:45:37 -08:00
Khem Raj 31d9f6afcd pmdk: Fix build with newer ndctl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-26 18:15:11 -07:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Oleksandr Kravchuk 6bbc8b2d3a pmdk: update to 1.11.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-16 09:50:38 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Oleksandr Kravchuk 27c86f9404 pmdk: update to 1.9
Removed patches:
- 0001- was upstreamed
- 0002- is now with with passing a config option

License checksum changed due to modified copyright years.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:16 -07:00
Khem Raj 1bc3ceeb2b pmdk: Update to 1.8
Licence-Update: Update copyright headers and drop jeamalloc [1]

* Drop upstreamed patch
* Drop jemalloc patch, its no longer applicable
* Fix build with gcc10

[1] https://github.com/pmem/pmdk/commit/bd13816e7c784430343bcc2a7b53314ab998bf62#diff-9879d6db96fd29134fc802214163b95a

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-12 12:33:42 -07:00
Christophe PRIOUZEAU 4faa3ef854 pmdk: Clarify BSD license variant
The License of pmdk is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25 10:29:51 -07:00
Khem Raj e39b78ad93 pmdk: Update to 1.7
- Examples can be disabled via makefile argument, so drop the patch to
  disble building them and instead disable building via makefile
  argument
- Add a patch to control secure_getenv definition spill into linux/musl
  case

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-06 18:44:20 -07:00
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