mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
* on some hosts (e.g. on my gentoo after recent update) it detects OpenMP in do_configure: Run-time dependency OpenMP found: YES 4.5 but then fails in do_compile as shown in: http://errors.yoctoproject.org/Errors/Details/754632/ gcc -o test/fetch-test test/fetch-test.p/fetch-test.c.o -LTOPDIR/tmp-glibc/work/x86_64-linux/pixman-native/0.42.2/recipe-sysroot-native/usr/lib -LTOPDIR/tmp-glibc/work/x86_64-linux/pixman-native/0.42.2/recipe-sysroot-native/lib -Wl,--as-needed -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/tmp-glibc/work/x86_64-linux/pixman-native/0.42.2/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/tmp-glibc/work/x86_64-linux/pixman-native/0.42.2/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/tmp-glibc/work/x86_64-linux/pixman-native/0.42.2/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/tmp-glibc/work/x86_64-linux/pixman-native/0.42.2/recipe-sysroot-native/lib -Wl,-O1 '-Wl,-rpath,$ORIGIN/../pixman' -Wl,-rpath-link,TOPDIR/tmp-glibc/work/x86_64-linux/pixman-native/0.42.2/build/pixman -Wl,--start-group test/libtestutils.a pixman/libpixman-1.so.0.42.2 -pthread -fopenmp -fopenmp -lm -Wl,--end-group gcc: fatal error: cannot read spec file ‘libgomp.spec’: No such file or directory compilation terminated. it's only used in tests, so should be safe to disable for native builds * the check in meson uses /usr/include/omp.h which is provided by libomp even when openmp support is disabled in native gcc in gentoo this happned after switching from 17.1 profile to 23.0 which doesn't include openmp USE flag by default, if you later run depclean it will uninstall libomp as well which will fix this conflict in meson's OpenMP autodetection (From OE-Core rev: b64d4e30bbd972d0665cc310bc0fdde3b49f0367) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
48 lines
2.3 KiB
BlitzBasic
48 lines
2.3 KiB
BlitzBasic
SUMMARY = "Pixman: Pixel Manipulation library"
|
|
DESCRIPTION = "Pixman provides a library for manipulating pixel regions \
|
|
-- a set of Y-X banded rectangles, image compositing using the \
|
|
Porter/Duff model and implicit mask generation for geometric primitives \
|
|
including trapezoids, triangles, and rectangles."
|
|
HOMEPAGE = "http://www.pixman.org"
|
|
SECTION = "x11/libs"
|
|
DEPENDS = "zlib"
|
|
|
|
SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.gz \
|
|
file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "ea1480efada2fd948bc75366f7c349e1c96d3297d09a3fe62626e38e234a625e"
|
|
|
|
# see http://cairographics.org/releases/ - only even minor versions are stable
|
|
UPSTREAM_CHECK_REGEX = "pixman-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
|
|
|
|
PE = "1"
|
|
|
|
LICENSE = "MIT & PD"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \
|
|
file://pixman/pixman-matrix.c;endline=21;md5=4a018dff3e4e25302724c88ff95c2456 \
|
|
file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \
|
|
"
|
|
|
|
inherit meson pkgconfig
|
|
|
|
# These are for the tests and demos, which we don't install
|
|
EXTRA_OEMESON = "-Dgtk=disabled -Dlibpng=disabled"
|
|
# ld: pixman/libpixman-mmx.a(pixman-mmx.c.o):
|
|
# linking mips:loongson_2f module with previous mips:isa64 modules
|
|
EXTRA_OEMESON += "-Dloongson-mmi=disabled"
|
|
# disable iwmmxt due to compile fails on most arm platforms.
|
|
EXTRA_OEMESON += "-Diwmmxt=disabled"
|
|
|
|
EXTRA_OEMESON:append:class-target:powerpc = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
|
|
EXTRA_OEMESON:append:class-target:powerpc64 = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
|
|
EXTRA_OEMESON:append:class-target:powerpc64le = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
|
|
|
|
EXTRA_OEMESON:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon",""," -Dneon=disabled",d)}"
|
|
EXTRA_OEMESON:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon",""," -Dneon=disabled",d)}"
|
|
|
|
EXTRA_OEMESON:append:class-native = " -Dopenmp=disabled"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
CVE_STATUS[CVE-2023-37769] = "not-applicable-config: stress-test is an uninstalled test"
|