* [bitbake][kirkstone][2.0][PATCH 0/1] Patch review
@ 2024-08-13 13:09 Steve Sakoman
2024-08-13 13:09 ` [bitbake][kirkstone][2.0][PATCH 1/1] data_smart: Improve performance for VariableHistory Steve Sakoman
0 siblings, 1 reply; 7+ messages in thread
From: Steve Sakoman @ 2024-08-13 13:09 UTC (permalink / raw)
To: bitbake-devel
Please review this set of changes for 2.0/kirkstone and have comments back by
end of day Thursday, August 15
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/7236
The following changes since commit 734b0ea3dfe45eb16ee60f0c2c388e22af4040e0:
tests/fetch: Tweak test to match upstream repo url change Upstream changed their urls, update our test to match. (2024-06-11 11:22:11 -0700)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.0-nut
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.0-nut
Robert Yang (1):
data_smart: Improve performance for VariableHistory
lib/bb/data_smart.py | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bitbake][kirkstone][2.0][PATCH 1/1] data_smart: Improve performance for VariableHistory
2024-08-13 13:09 [bitbake][kirkstone][2.0][PATCH 0/1] Patch review Steve Sakoman
@ 2024-08-13 13:09 ` Steve Sakoman
0 siblings, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2024-08-13 13:09 UTC (permalink / raw)
To: bitbake-devel
From: Robert Yang <liezhi.yang@windriver.com>
Fixed:
- BBMULTICONFIG = "qemux86-64 qemuarm64" and more than 70 layers in BBLAYERS
$ bitbake -p -P
Check profile.log.processed, the record() cost more than 20 seconds, it is less
than 1 second when multiconfig is not enabled, and there would be the following
error when more muticonfigs are enabled:
Timeout while waiting for a reply from the bitbake server
Don't change the type of loginfo['detail'] or re-assign it can make record()
back to less than 1 second, this won't affect COW since loginfo is a mutable
type.
The time mainly affected by two factors:
1) The number of enabled layers, nearly 1 second added per layer when the
number is larger than 50.
2) The global var such as USER_CLASSES, about 1 ~ 2 seconds added per layer
when the layers number is larger than 50.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0596aa0d5b0e4ed3db11b5bd560f1d3439963a41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
lib/bb/data_smart.py | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py
index dd20ca557..111377a75 100644
--- a/lib/bb/data_smart.py
+++ b/lib/bb/data_smart.py
@@ -261,12 +261,9 @@ class VariableHistory(object):
return
if 'op' not in loginfo or not loginfo['op']:
loginfo['op'] = 'set'
- if 'detail' in loginfo:
- loginfo['detail'] = str(loginfo['detail'])
if 'variable' not in loginfo or 'file' not in loginfo:
raise ValueError("record() missing variable or file.")
var = loginfo['variable']
-
if var not in self.variables:
self.variables[var] = []
if not isinstance(self.variables[var], list):
@@ -325,7 +322,8 @@ class VariableHistory(object):
flag = '[%s] ' % (event['flag'])
else:
flag = ''
- o.write("# %s %s:%s%s\n# %s\"%s\"\n" % (event['op'], event['file'], event['line'], display_func, flag, re.sub('\n', '\n# ', event['detail'])))
+ o.write("# %s %s:%s%s\n# %s\"%s\"\n" % \
+ (event['op'], event['file'], event['line'], display_func, flag, re.sub('\n', '\n# ', str(event['detail']))))
if len(history) > 1:
o.write("# pre-expansion value:\n")
o.write('# "%s"\n' % (commentVal))
@@ -379,7 +377,7 @@ class VariableHistory(object):
if isset and event['op'] == 'set?':
continue
isset = True
- items = d.expand(event['detail']).split()
+ items = d.expand(str(event['detail'])).split()
for item in items:
# This is a little crude but is belt-and-braces to avoid us
# having to handle every possible operation type specifically
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bitbake][kirkstone][2.0][PATCH 0/1] Patch review
@ 2026-04-09 22:49 Yoann Congal
0 siblings, 0 replies; 7+ messages in thread
From: Yoann Congal @ 2026-04-09 22:49 UTC (permalink / raw)
To: bitbake-devel
This is a patch added last-minute to handle the shutdown of the git
protocol on YP/OE git repos.
Given the cherry-pick nature of the patch and the kirkstone release
build to do quickly, I plan to send this for merge quickly.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3631
(Build was impacted by a known and fixed AB-INT, I backported the fix)
The following changes since commit 8e2d1f8de055549b2101614d85454fcd1d0f94b2:
test/fetch: Switch u-boot based test to use our own mirror (2025-07-22 15:09:57 +0100)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.0-nut
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.0-nut
for you to fetch changes up to 7fd0197fd5fedd23cc885b5e7e816d86a392fdf9:
tests/fetch: Avoid using git protocol in tests (2026-04-09 13:28:26 +0200)
----------------------------------------------------------------
Richard Purdie (1):
tests/fetch: Avoid using git protocol in tests
lib/bb/tests/fetch.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bitbake][kirkstone][2.0][PATCH 0/1] Patch review
@ 2025-03-12 19:48 Steve Sakoman
0 siblings, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2025-03-12 19:48 UTC (permalink / raw)
To: bitbake-devel
Please review this change for 2.0/kirkstone and have comments back by
end of day Friday, March 14
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1177
The following changes since commit e71f1ce53cf3b8320caa481ae62d1ce2900c4670:
tests/fetch: Fix git shallow test failure with git >= 2.48 (2025-01-24 16:17:43 +0000)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.0-nut
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.0-nut
Paulo Neves (1):
siggen.py: Improve taskhash reproducibility
lib/bb/siggen.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bitbake][kirkstone][2.0][PATCH 0/1] Patch review
@ 2024-11-06 13:37 Steve Sakoman
0 siblings, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2024-11-06 13:37 UTC (permalink / raw)
To: bitbake-devel
Please review this change for kirkstone/2.0 and have comments back by
end of day Friday, November 8
Passed a-full on autobuilder:
https://valkyrie.yoctoproject.org/#/builders/29/builds/398
The following changes since commit 0c30e9aadd30fc6f0dcf811eb8340687b52eb00b:
tests/fetch: Use our own mirror of mobile-broadband-provider to decouple from gnome gitlab (2024-11-02 09:45:13 +0000)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.0-nut
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.0-nut
Philip Lorenz (1):
codeparser: Fix handling of string AST nodes with older Python
versions
lib/bb/codeparser.py | 46 +++++++++++++++++++++++++++++++-------------
1 file changed, 33 insertions(+), 13 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread* [bitbake][kirkstone][2.0][PATCH 0/1] Patch review
@ 2024-06-22 12:20 Steve Sakoman
0 siblings, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2024-06-22 12:20 UTC (permalink / raw)
To: bitbake-devel
Please review this change for kirkstone/2.0 and have comments back by
end of day Tuesday, June 25
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/7065
The following changes since commit 5a90927f31c4f9fccbe5d9d07d08e6e69485baa8:
parse: Improve/fix cache invalidation via mtime (2024-05-23 08:52:30 -0700)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.0-nut
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.0-nut
Steve Sakoman (1):
tests/fetch: Tweak test to match upstream repo url change Upstream
changed their urls, update our test to match.
lib/bb/tests/fetch.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread* [bitbake][kirkstone][2.0][PATCH 0/1] Patch review
@ 2023-04-15 15:29 Steve Sakoman
0 siblings, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2023-04-15 15:29 UTC (permalink / raw)
To: bitbake-devel
Please review this set of patches for kirkstone/2.0 and have comments back by
end of day Tuesday.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5185
The following changes since commit 2802adb572eb73a3eb2725a74a9bbdaafc543fa7:
fetch/git: Fix local clone url to make it work with repo (2023-03-31 04:28:22 -1000)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib stable/2.0-nut
http://cgit.openembedded.org/bitbake-contrib/log/?h=stable/2.0-nut
Frank de Brabander (1):
bin/utils: Ensure locale en_US.UTF-8 is available on the system
bin/bitbake | 3 +--
bin/bitbake-server | 5 +++--
bin/bitbake-worker | 3 +--
lib/bb/utils.py | 16 ++++++++++++++++
4 files changed, 21 insertions(+), 6 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-04-09 22:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-13 13:09 [bitbake][kirkstone][2.0][PATCH 0/1] Patch review Steve Sakoman
2024-08-13 13:09 ` [bitbake][kirkstone][2.0][PATCH 1/1] data_smart: Improve performance for VariableHistory Steve Sakoman
-- strict thread matches above, loose matches on Subject: below --
2026-04-09 22:49 [bitbake][kirkstone][2.0][PATCH 0/1] Patch review Yoann Congal
2025-03-12 19:48 Steve Sakoman
2024-11-06 13:37 Steve Sakoman
2024-06-22 12:20 Steve Sakoman
2023-04-15 15:29 Steve Sakoman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.