python2/python3: fix multiprocessing.BoundedSemaphore not work on qemux86/qemuarm
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | python2/python3: fix multiprocessing.BoundedSemaphore not work on qemux86/qemuarmmeta/ meta/ meta/ +1 more | +166 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] python2/python3: fix multiprocessing.BoundedSemaphore not work on qemux86/qemuarm
Test steps:
1. Build qemux86 with python3 installed
vim local.conf
...
MACHINE = "qemux86"IMAGE_INSTALL_append = " python3 python python-modules"
...
$ bitbake core-image-minimal
2. Run qemu
runqemu core-image-minimal slirp nographic
3. Invoke python/python3 statements
root@qemux86:~# python2 Python 2.7.13 (default, Aug 4 2017, 07:39:04) [GCC 7.1.0] on linux2 Type "help", "copyright", "credits" or "license" for more information.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
import multiprocessing
pool_sema=multiprocessing.BoundedSemaphore(value=1)pool_sema.acquire()
True
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
pool_sema.release()
root@qemux86:~# python3 Python 3.5.3 (default, Aug 4 2017, 07:38:14) [GCC 7.1.0] on linux Type "help", "copyright", "credits" or "license" for more information.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
import multiprocessing
pool_sema=multiprocessing.BoundedSemaphore(value=1)pool_sema.acquire()
True
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
pool_sema.release()
//Hongxu
The following changes since commit 15901164ee71dec0906dadaff08f3365a66feb05:
dev-manual, ref-manual: Eliminated pre-built section (2017-07-22 09:19:25 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib hongxu/fix-python
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/fix-python
Hongxu Jia (1):
python2/python3: fix multiprocessing.BoundedSemaphore not work on
qemux86/qemuarm
...ss-missing-libraries-to-Extension-for-mul.patch | 82 ++++++++++++++++++++++ ...ss-missing-libraries-to-Extension-for-mul.patch | 82 ++++++++++++++++++++++ meta/recipes-devtools/python/python3_3.5.3.bb | 1 + meta/recipes-devtools/python/python_2.7.13.bb | 1 + 4 files changed, 166 insertions(+) create mode 100644 meta/recipes-devtools/python/python/pass-missing-libraries-to-Extension-for-mul.patch create mode 100644 meta/recipes-devtools/python/python3/pass-missing-libraries-to-Extension-for-mul.patch
Signature · 1 line
2.8.1