aboutsummaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* python-pgo-image: change python3 profile target to pybenchmarquiz/fixes-9338-v2Markus Lehtonen2017-05-171-5/+6
| | | | | | | | | | Running test.regrtest was still taking ridiculously long, i.e. around 4 hours in qemux86 on my desktop machine. Change to pybench which "only" takes around 55 minutes. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python3: add python3-tools subpackageMarkus Lehtonen2017-05-172-3/+10
| | | | | | [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python-pgo-image: exclude tests from the python3 profile targetMarkus Lehtonen2017-05-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exlude failing tests (on qemux86 target) which would cause the profile task to fail. Also, disable some very long running tests. Running in qemux86 target on my i7-3770K: test_lib2to3: 1604.5s test_buffer: 1562.8s test_pickle: 1527.0s test_io: 1517.8s test_threading: 1384.1s test_asyncio: 1380.9s test_urllib2_localnet: 1276.8s test_itertools: 944.7s test_tuple: 847.7s test_trace: 756.7s test_tarfile: 716.7s test_unicodedata: 709.9s test_decimal: 615.1s test_buffer: 1562.8s test_pickle: 1527.0s test_io: 1517.8s test_threading: 1384.1s test_asyncio: 1380.9s test_urllib2_localnet: 1276.8s test_itertools: 944.7s test_tuple: 847.7s test_trace: 756.7s test_tarfile: 716.7s test_unicodedata: 709.9s test_decimal: 615.1s [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python3: fix profile-optimized build of modulesMarkus Lehtonen2017-05-172-0/+57
| | | | | | | | | Without this the pgo-related compiler flags are not used in cross-builds. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python3: support profile optimized buildMarkus Lehtonen2017-05-171-0/+20
| | | | | | | | | | | | | Make it possible to do profile-optimized build. The implementation is virtually identical to how we do it in Python 2.7. Basically, you need to define PYTHON3_PROFILE_OPT = "1" in your local.conf and have profile data available in the location pointed to by PYTHON3_PROFILE_DIR. Profile data can be obtainen e.g. by running bitbake python-pgo-image -c profile3. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python3: remove two setup.py cross-compile hacksMarkus Lehtonen2017-05-173-65/+0
| | | | | | | | | | | | | | | Remove two unneeded hacks. The first hack ("setup.py: no host headers libs" patch) is not needed because we use cross-compiler (e.g. i586-oe-linux-gcc) which has not been configured with any host system include or library directories, and thus, we don't get any host system directories when running "gcc -E -v". The second hack becomes useless after the first hack has been removed and we get the standard include and lib directories normally from gcc. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python-pgo-image: profiling for python3Markus Lehtonen2017-05-171-12/+45
| | | | | | | | | | | | Add a new 'do_profile3' task for python-pgo-image that runs profiling task for python3 and retrieves the profile data, similarly to 'do_profile' for python2. Profile data will be copied into a directory pointed by PYTHON3_PROFILE_DIR on the host system. The profile task may be specified with PYTHON3_PROFILE_TASK. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python3: add python-profile-opt3 recipeMarkus Lehtonen2017-05-175-20/+178
| | | | | | | | | | | | Similar to python-profile-opt for Python 2.7, this is a special version of Python3 used for profile guided optimization. It is used for generating profile data on the target device. Libpython3 is renamed to libpython-profile-opt3 in order to prevent soname clash with "normal" libpython3. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python3: fix depends of python-testsMarkus Lehtonen2017-05-171-1/+1
| | | | | | | | | | | | Similar to an earlier fix for Python 2.7. Make the tests subpackage depend on all modules as test.regrtest uses most (if not all) of them. Some tests also depend on libgcc so add that as a runtime dependency as well. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python3-native: support profile optimized buildMarkus Lehtonen2017-05-172-9/+9
| | | | | | | | | | | | This feature is virtually identical to that of python-native. Profile guided optimization is enabled by defining PYTHON3_NATIVE_PROFILE_OPT = "1" in local.conf. In addition, the profile task may be defined with PYTHON3_NATIVE_PROFILE_TASK. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python-pgo-image: enable sstate for do_profileMarkus Lehtonen2017-05-171-2/+13
| | | | | | | | | | | | | | | | | | There are caveats however, basically because of the circular dependency between python-pgo-image and python (python is a build dep of python-pgo-image, and at the same time, depends on the profile data generated by python-pgo-image). In practice the sstate data is only used when no profile data is yet present. Existing profile data (i.e. non-empty PYTHON_PROFILE_DIR) changes signature hash of python which, in turn, changes signature of python-pgo-image and causes a sstate signature mismatch and rebuild of python-pgo-image. Thus, in order to utilize sstate data the user should run "bitbake python-pgo-image -c clean" (or otherwise wipe pre-existing profile data) before running "bitbake python-pgo-image -c profile". [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python-pgo-image: switch python default profile task to pybenchMarkus Lehtonen2017-05-171-8/+10
| | | | | | | | Switch to pybench in order to reduce the time taken by profiling. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python: add python-tools subpackageMarkus Lehtonen2017-05-172-3/+10
| | | | | | | | Useful in developing Python, e.g. in benchmarking. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python-pgo-image: exclude tests from the default profile targetMarkus Lehtonen2017-05-171-1/+8
| | | | | | | | | | | | | | | Exclue tests that are segfaulting or otherwise failing (on qemux86 target), and thus, causing the profile task to fail. Also, disable tests that are taking very long to execute. In qemux86 target on my i7-3770K: test_lib2to3: 1908.8s test_io: 1278.4s test_itertools: 436.4s [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python: make profile-optimized build possibleMarkus Lehtonen2017-05-171-1/+24
| | | | | | | | | | | | | | | | This patch makes it possible to build python with profile directed optimization. That is, feed python build process with profile data to guide optimization. This is the third (and the last) step in profile directed optimization for Python. In order to do a profile-optimized build you need to set PYTHON_PROFILE_OPT = "1" in your local.conf. Be sure to get the profile data for python, preferably by running "bitbake python-pgo-image -c profile". [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* devtools/images: add python-pgo-imageMarkus Lehtonen2017-05-171-0/+62
| | | | | | | | | | | | This is a special image for profiling Python in order to utilize profile-guided-optimization. Profile data can be obtained by by running bitbake python-pgo-image -c profile. It will be located in the directory pointed by ${PYTHON_PROFILE_DIR}. The profile task that is run can be altered by specifying ${PYTHON_PROFILE_TASK}. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python-profile-opt: rename libpythonMarkus Lehtonen2017-05-172-5/+95
| | | | | | | | | | | The python library needs to be renamed so that the automatic dependency generation/checking mechanism in bitbake does not get confused. Otherwise python-profile-opt will depend on libpython from the "normal" python package. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python: remove path hack from setup.pyMarkus Lehtonen2017-05-171-10/+0
| | | | | | | | | | | | There should be no need to hack the library and include dirs in setup.py. The script detects them from compiler output. We need to remove this is because python-profile-opt recipe is built with a non-standard prefix setting (i.e. /opt) and the hack breaks the discovery of system libraries and headers. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python: add python-profile-opt recipeMarkus Lehtonen2017-05-172-8/+35
| | | | | | | | | | | | | | | | | | | | | | | This patch adds a new recipe that builds a special version of python that produces profile data for profile guided optimization. It will install under /opt in order to prevent clash with the "normal" python. The new recipe directly includes the base python recipe so that they are build in as similar way as possible and this hopefully decreases the recipe maintenance burden, too. Normally, python profile-guided-optimization is done simply by doing "make profile-opt" which first builds python with profile instrumentation enabled, then runs a profile task to get the profile data, and last, re-builds python with profile data guiding the optimization. However, in our cross-build environment this gets a lot trickier. We need to split out the steps as building is done on the build host but we need to run the second step (i.e. run the profile task) on the target hardware. This patch enables the first step, i.e. building python with profile instrumentation enabled [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* python-native: support profile optimized buildMarkus Lehtonen2017-05-172-0/+36
| | | | | | | | | | | | | | Make it possible to build python-native with profile directed optimization enabled. The feature is enabled by setting PYTHON_NATIVE_PROFILE_OPT = "1" in local.conf. The profile task to run may be specified with PYTHON_NATIVE_PROFILE_TASK variable in local.conf, e.g. PYTHON_NATIVE_PROFILE_TASK = "${S}/Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck" [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* byacc: remove the recipeAlexander Kanavin2017-05-165-221/+0
| | | | | | | It was used only by rpm5 and will be moved to meta-oe Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* python3-pygpgme: remove the recipeAlexander Kanavin2017-05-161-18/+0
| | | | | | | | It was required only by dnf, which has switched to official gpgme bindings. pygpgme itself is old and unmaintaned. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* dnf: update to 2.3.0Alexander Kanavin2017-05-162-4/+110
| | | | | | | | | Drop dependency on pygpgme, replace it with gpgme's own bindings. Add a patch that fixes an upstream regression. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libdnf: update to 0.8.1Alexander Kanavin2017-05-163-15/+17
| | | | | | | Rebase the patches. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* linux-firmware: enable netronome firmwareNg Wei Tee2017-05-161-3/+22
| | | | | | | | | | | | | It was previously disabled, as rpm refused to package it into noarch package, due to the firmware being considered arch-specific. This check is disabled in rpm now. The netronome binaries has ELF headers which will trigger an arch-specific error. INSANE_SKIP variable is used to skip some package_qa check usage. Signed-off-by: Ng Wei Tee <wei.tee.ng@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* rpm: allow arch-dependent binaries in noarch packagesNg Wei Tee2017-05-161-0/+1
| | | | | | | | | | | | This is needed for packages like linux-firmware which have a legitimate reason for it. Oe-core has a separate package_qa test for this situation, so any accidental inclusions of such binaries will still be caught. [YOCTO #11329] Signed-off-by: Ng Wei Tee <wei.tee.ng@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libxml-sax-base-perl: upgrade to 1.09Aníbal Limón2017-05-161-2/+2
| | | | | Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* liberation-fonts: update to 2.00.1Alexander Kanavin2017-05-162-12/+8
| | | | | | | | | | | | | 'fontforge issue' was actually a non-issue; fontforge is required only when building ttf fonts from sfd source. We took prebuilt ttf fonts when using 1.04 version, and can do the same thing with 2.00.1 version, it's just that the tarball name for prebuilt fonts has slightly changed and no one noticed somehow. License has changed from GPLv2 to Open Font License v.1.1 Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* mobile-broadband-provider-info: upgrade to 20170310Alexander Kanavin2017-05-161-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* btrfs-tools: upgrade to 4.10.2Alexander Kanavin2017-05-161-1/+1
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libpthread-stubs: upgrade to 0.4Alexander Kanavin2017-05-161-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* vala: upgrade to 0.36.2Alexander Kanavin2017-05-162-3/+8
| | | | | | | | Make libxslt-native dependency conditional on api-documentation distro feature, as vala now defaults to rebuilding the manual (which is slow). Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* gcr: add missing dependency on xsltproc if introspection is enabledRoss Burton2017-05-161-14/+2
| | | | | | | | | gcr needs xsltproc at build time if GObject Introspection is enabled. Also, remove the explicit disabling of g-i and gtk-doc on x86-64 targets, this appears to work now. Signed-off-by: Ross Burton <ross.burton@intel.com>
* iso-codes: upgrade to 3.75Alexander Kanavin2017-05-161-2/+2
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* dtc: upgrade to 1.4.4Alexander Kanavin2017-05-161-1/+1
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* speex: upgrade 1.2rc2 -> 1.2.0Marc Ferland2017-05-161-2/+2
| | | | | | | | | Upgrade speex to 1.2.0. Very small diff between 1.2rc2 and 1.2.0, mostly compiler warning fixes, tabs vs spaces, trailing whitespaces and one liners. Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Ross Burton <ross.burton@intel.com>
* mc: do not package Python-based extfs helpersAlexander Kanavin2017-05-164-9/+3
| | | | | | | | | They have not been ported to Python 3, and they are for browsing Amazon s3+ and Commodore 64/128 emulator filesystems - hardly consequential. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* packagegroup-self-hosted: remove python-git dependencyAlexander Kanavin2017-05-161-1/+0
| | | | | | | Only python3-git is needed anymore. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* webkitgtk: remove native python dependencyAlexander Kanavin2017-05-161-6/+1
| | | | | | | Using host python seems to be fine. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* mklibs-native: remove native python dependencyAlexander Kanavin2017-05-161-2/+1
| | | | | | | It's not actually required; host python is fine. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* mesa: drop pythonnative inheritAlexander Kanavin2017-05-161-1/+1
| | | | | | | Mesa is perfectly capable of using host python nowadays. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* mesa: remove the git recipeAlexander Kanavin2017-05-161-22/+0
| | | | | | | | It hasn't been touched in almost two years; clearly the idea of providing separate _git.bb recipes is not working. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* asciidoc: drop distutils inherit, not actually requiredAlexander Kanavin2017-05-161-1/+1
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* dbus-test: 1.10.14 -> 1.10.18Huang Qiyu2017-05-161-2/+2
| | | | | | | Upgrade dbus-test from 1.10.14 to 1.10.18. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* dbus: 1.10.14 -> 1.10.18Huang Qiyu2017-05-161-2/+2
| | | | | | | Upgrade dbus from 1.10.14 to 1.10.18. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* lttng-modules: update to 2.9.2Nathan Lynch2017-05-161-2/+2
| | | | | | | This version bump adds support for Linux 4.11. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* bluez5: cleanup tabs and spacesMarc Ferland2017-05-161-15/+15
| | | | | Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Ross Burton <ross.burton@intel.com>
* bluez5: do not install audio.confMarc Ferland2017-05-161-3/+0
| | | | | | | The audio.conf file has been removed, stop installing it. Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Ross Burton <ross.burton@intel.com>
* bluez5: add PACKAGECONFIG option for cupsMarc Ferland2017-05-161-2/+6
| | | | | Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Ross Burton <ross.burton@intel.com>
* bluez5: add PACKAGECONFIG option for systemdMarc Ferland2017-05-161-2/+2
| | | | | Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Ross Burton <ross.burton@intel.com>