diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-03-10 22:31:35 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-03-11 08:00:40 -0800 |
commit | 1f372ad6c5a71156c1f30d99f1a6eb0c1be7de32 (patch) | |
tree | a55a0b12b6616d073e6a1ce4949d02581ae46101 | |
parent | 045fe61e303a80e36ee34ba3f09a301b9edbe666 (diff) | |
download | meta-openembedded-1f372ad6c5a71156c1f30d99f1a6eb0c1be7de32.tar.gz |
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>
-rw-r--r-- | meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb b/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb index fc58a42d28..250ea97f40 100644 --- a/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb +++ b/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb | |||
@@ -27,9 +27,10 @@ S = "${WORKDIR}/git" | |||
27 | inherit cmake pkgconfig ptest | 27 | inherit cmake pkgconfig ptest |
28 | 28 | ||
29 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'with-tests', '', d)}" | 29 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'with-tests', '', d)}" |
30 | PACKAGECONFIG[with-tests] = "-DBUILD_TESTS=ON -DSKIP_PORTABILITY_TEST=ON,," | 30 | PACKAGECONFIG[with-tests] = "-DWITH_WERROR=OFF -DBUILD_TESTS=ON,," |
31 | 31 | ||
32 | EXTRA_OECMAKE = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '', '-DJUST_INSTALL_CEREAL=ON', d)}" | 32 | EXTRA_OECMAKE = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '', '-DJUST_INSTALL_CEREAL=ON', d)} \ |
33 | ${@['','-DSKIP_PORTABILITY_TEST=ON'][d.getVar('SITEINFO_BITS') != '32']}" | ||
33 | 34 | ||
34 | do_install_ptest() { | 35 | do_install_ptest() { |
35 | install -d ${D}${PTEST_PATH}/tests | 36 | install -d ${D}${PTEST_PATH}/tests |