mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-02 08:45:49 +00:00
libcereal: Disable Werror with ptests
skip portability tests on 64bit targets since we do not have 32bit multilib enabled in compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
045fe61e30
commit
1f372ad6c5
@ -27,9 +27,10 @@ S = "${WORKDIR}/git"
|
|||||||
inherit cmake pkgconfig ptest
|
inherit cmake pkgconfig ptest
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'with-tests', '', d)}"
|
PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'with-tests', '', d)}"
|
||||||
PACKAGECONFIG[with-tests] = "-DBUILD_TESTS=ON -DSKIP_PORTABILITY_TEST=ON,,"
|
PACKAGECONFIG[with-tests] = "-DWITH_WERROR=OFF -DBUILD_TESTS=ON,,"
|
||||||
|
|
||||||
EXTRA_OECMAKE = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '', '-DJUST_INSTALL_CEREAL=ON', d)}"
|
EXTRA_OECMAKE = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '', '-DJUST_INSTALL_CEREAL=ON', d)} \
|
||||||
|
${@['','-DSKIP_PORTABILITY_TEST=ON'][d.getVar('SITEINFO_BITS') != '32']}"
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
install -d ${D}${PTEST_PATH}/tests
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user