diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2019-09-09 14:01:30 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2019-09-09 12:30:46 -0400 |
| commit | e2185e487b437e811725e8bbe489d5194267a56a (patch) | |
| tree | a0687d637abd9395378e1a69622e9ed8e6da20e6 /dynamic-layers/python2-layer/recipes-devtools/python/files/sitecustomize.py | |
| parent | 10d4a50fc5b4d6da9dc74247ad5ab5ca0eda68bb (diff) | |
| download | meta-selinux-e2185e487b437e811725e8bbe489d5194267a56a.tar.gz | |
conf/layer.conf: use BBFILES_DYNAMIC for dynamic layers
The previous code add all BBFILE_COLLECTIONS/recipes*/*/*.bbappend to BBFILES,
which causes the parsing very slow when there are many layers, e.g., I have 87
layers:
* Before:
$ rm -fr tmp-glibc/ cache; time bitbake -p
real 0m45.173s
user 0m0.560s
sys 0m0.060s
* After:
$ rm -fr tmp-glibc/ cache; time bitbake -p
real 0m25.542s
user 0m0.572s
sys 0m0.040s
It wasted 20s which wasn't worth (The host has 128 threads, it should cost more
time on less power host), use BBFILES_DYNAMIC can fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'dynamic-layers/python2-layer/recipes-devtools/python/files/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions
