mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

build uses LTO and for some reason it does not work well when using clang-11 Fixes | /mnt/b/yoe/master/build/tmp/work/armv7vet2hf-neon-yoe-linux-musleabi/python3-matplotlib/3.3.0-r0/recipe-sysroot-nat ive/usr/bin/arm-yoe-linux-musleabi/arm-yoe-linux-musleabi-ld.gold: error: /mnt/b/yoe/master/build/tmp/work/armv7vet2h f-neon-yoe-linux-musleabi/python3-matplotlib/3.3.0-r0/build/temp.linux-x86_64-3.8/extern/agg24-svn/src/agg_bezier_arc .o: not an object or archive Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
46 lines
1.2 KiB
BlitzBasic
46 lines
1.2 KiB
BlitzBasic
SUMMARY = "matplotlib: plotting with Python"
|
|
DESCRIPTION = "\
|
|
Matplotlib is a Python 2D plotting library which produces \
|
|
publication-quality figures in a variety of hardcopy formats \
|
|
and interactive environments across platforms."
|
|
HOMEPAGE = "https://github.com/matplotlib/matplotlib"
|
|
SECTION = "devel/python"
|
|
LICENSE = "PSF"
|
|
LIC_FILES_CHKSUM = "\
|
|
file://setup.py;beginline=251;endline=251;md5=e0ef37de7122ce842bcd1fb54482b353 \
|
|
file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \
|
|
"
|
|
DEPENDS = "\
|
|
freetype \
|
|
libpng \
|
|
python3-numpy-native \
|
|
python3-dateutil-native \
|
|
python3-pytz-native \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "b1de7185687c6f5c092689e3431a69b3"
|
|
SRC_URI[sha256sum] = "24e8db94948019d531ce0bcd637ac24b1c8f6744ac86d2aa0eb6dbaeb1386f82"
|
|
|
|
inherit pypi setuptools3 pkgconfig
|
|
|
|
# LTO with clang needs lld
|
|
LDFLAGS_append_toolchain-clang = " -fuse-ld=lld"
|
|
|
|
RDEPENDS_${PN} = "\
|
|
freetype \
|
|
libpng \
|
|
python3-numpy \
|
|
python3-pyparsing \
|
|
python3-cycler \
|
|
python3-dateutil \
|
|
python3-kiwisolver \
|
|
python3-pytz \
|
|
"
|
|
|
|
do_compile_prepend() {
|
|
echo [libs] > ${S}/setup.cfg
|
|
echo system_freetype = true >> ${S}/setup.cfg
|
|
}
|
|
|
|
BBCLASSEXTEND = "native"
|