buildroot/package/libshdata/Config.in
Herve Codina d1e8f787e9 package/libshdata: new package
The libshdata library provides lock free shared-memory tools.

https://github.com/Parrot-Developers/libshdata

libshdata-stress utility does not compile using static libs
only (BR2_STATIC_LIBS=y). The issue was raised upstream:
  https://github.com/Parrot-Developers/libshdata/issues/2
For now, libshdata-stress simply depends on !BR2_STATIC_LIBS.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
[yann.morin.1998@free.fr:
  - do not macro-ify headers install
  - do not parameterise static libs install dest
  - do not parameterise binaries install dest
  - reorder macros decaration and use
  - remove spurious comma between module dependencies
  - implicit module name
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-01-12 00:29:54 +01:00

31 lines
863 B
Plaintext

config BR2_PACKAGE_LIBSHDATA
bool "libshdata"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_TOOLCHAIN_HAS_ATOMIC # libfutils
depends on BR2_INSTALL_LIBSTDCPP # libfutils
depends on BR2_TOOLCHAIN_HAS_THREADS # libfutils
select BR2_PACKAGE_LIBFUTILS
select BR2_PACKAGE_ULOG
help
This library provides lock free shared-memory tools
https://github.com/Parrot-Developers/libshdata
if BR2_PACKAGE_LIBSHDATA
config BR2_PACKAGE_LIBSHDATA_STRESS
bool "libshdata-stress binary"
depends on !BR2_STATIC_LIBS
help
Install libshdata-stress binary as well
comment "libshdata-stress needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
endif
comment "libshdata needs a toolchain w/ C++, threads"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS