diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/makerace.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3/makerace.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-devtools/python/python3/makerace.patch b/meta/recipes-devtools/python/python3/makerace.patch deleted file mode 100644 index bf73135e09..0000000000 --- a/meta/recipes-devtools/python/python3/makerace.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From 2b458b4e1bcd57e3f135d3f0e715f64b98b27906 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
| 3 | Date: Tue, 13 Jul 2021 23:19:29 +0100 | ||
| 4 | Subject: [PATCH] python3: Fix make race | ||
| 5 | |||
| 6 | libainstall installs python-config.py but the .pyc cache files are generated | ||
| 7 | by the libinstall target. This means some builds may not generate the pyc files | ||
| 8 | for python-config.py depending on the order things happen in. This means builds | ||
| 9 | are not always reproducible. | ||
| 10 | |||
| 11 | Add a dependency to avoid the race. | ||
| 12 | |||
| 13 | Upstream-Status: Pending | ||
| 14 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
| 15 | --- | ||
| 16 | Makefile.pre.in | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/Makefile.pre.in b/Makefile.pre.in | ||
| 20 | index be1b9ea..9ec3a71 100644 | ||
| 21 | --- a/Makefile.pre.in | ||
| 22 | +++ b/Makefile.pre.in | ||
| 23 | @@ -2492,7 +2492,7 @@ COMPILEALL_OPTS=-j0 | ||
| 24 | TEST_MODULES=@TEST_MODULES@ | ||
| 25 | |||
| 26 | .PHONY: libinstall | ||
| 27 | -libinstall: all $(srcdir)/Modules/xxmodule.c | ||
| 28 | +libinstall: all $(srcdir)/Modules/xxmodule.c libainstall | ||
| 29 | @for i in $(SCRIPTDIR) $(LIBDEST); \ | ||
| 30 | do \ | ||
| 31 | if test ! -d $(DESTDIR)$$i; then \ | ||
