Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 1 | From 27bfa4028453dc79a72569823e97da8fd1994ffc Mon Sep 17 00:00:00 2001 |
| 2 | From: Leon Anavi <leon.anavi@konsulko.com> |
| 3 | Date: Tue, 1 Sep 2020 11:53:53 +0000 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 4 | Subject: [PATCH] explicitly set compile options |
| 5 | |
| 6 | OE does not support to install egg package, so |
| 7 | explicitly set build_ext options for oe-core's |
| 8 | `setup.py install' |
| 9 | |
| 10 | Upstream-Status: Inappropriate [oe specific] |
| 11 | |
| 12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 13 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 14 | --- |
| 15 | setup.cfg | 12 ++++++++++++ |
| 16 | 1 file changed, 12 insertions(+) |
| 17 | |
| 18 | diff --git a/setup.cfg b/setup.cfg |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 19 | index 19979cf7..ed27dfe1 100644 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 20 | --- a/setup.cfg |
| 21 | +++ b/setup.cfg |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 22 | @@ -11,3 +11,15 @@ multi_line_output = 3 |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 23 | [tool:pytest] |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 24 | addopts = -ra --color=yes |
| 25 | testpaths = Tests |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 26 | + |
| 27 | +[build_ext] |
| 28 | +disable-platform-guessing = 1 |
| 29 | +enable-zlib = 1 |
| 30 | +enable-jpeg = 1 |
| 31 | +enable-tiff = 1 |
| 32 | +enable-freetype = 1 |
| 33 | +enable-lcms = 1 |
| 34 | +enable-jpeg2000 = 1 |
| 35 | +disable-webp = 1 |
| 36 | +disable-webpmux = 1 |
| 37 | +disable-imagequant = 1 |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 38 | -- |
| 39 | 2.17.1 |
| 40 | |