[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/PYTHON3 PATCH 00/12] Port Python 3 on Unikraft


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Fri, 13 Sep 2019 15:53:41 +0300
  • Cc: felipe.huici@xxxxxxxxx, vlad_andrei.badoiu@xxxxxxxxxxxxxxx
  • Delivery-date: Fri, 13 Sep 2019 12:54:40 +0000
  • Ironport-phdr: 9a23:/eVkshx746yEJezXCy+O+j09IxM/srCxBDY+r6Qd2ugfIJqq85mqBkHD//Il1AaPAdyAraobwLeL++C4ACpcuMzH6ChDOLV3FDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3OgV6PPn6FZDPhMqrye+y54fTYwJVjzahfL9+Nhq7oRjfu8UMnYdvKKk9xxvJr3BVf+ha2X5kKUickhrh+Mu85oJv/zhVt/k868NOTKL2crgiQ7dFFjomKWc15MPqtRnHUwSC42YXX3sVnBRVHQXL9Qn2UZjtvCT0sOp9wzSaMtbtTb8oQzSi7rxkRwHuhSwaKjM26mDXish3jKJGvBKsogF0zoDIbI2JMvd1Y6XQds4YS2VcRMZcTyxPDJ2hYYUBDOQPOv1Vo5Xhq1YUsRezHxWgCP/pxzRVhnH2x6o60+E5HAzY2wwgBM4OsHXSrN7oMqkSTPi1zLTVxjjEc/xW3iz96JTJchAnu/2MWa9wcdLMyUQ0CwzFlU+cqZT4PzyOzOgNqW+b4vNmWOmyiGAnsxl8riWgy8sxkIXEhYIYxkra+Slnwos5P9O1RFZmbdOrDZdcrSKXOotsTs88TWxltjw2xqAJtJKleiUB1Y4pyATFa/OddoiF+hfjVOGMLjhmnH9lY7e/hwqq8Uin1+38StG40FZUoSpBldnBrm4N1xnJ5ciGTvtx5Fuu2S2V2wDL9+FLOlo4lbDcK5I5w74wkIQcsVjbEyPrl0j6kbWae0Yk9+Sy9ejrfLfrqoWSOoNsjwHxKKUumsixAeQiNQgOWnCW9vi71L344U35QbNKgucykqnEqJDaON8WqbKiAwNPyoYj9g2wAy280NQfhXUHNk5KeAqbj4j1PFHDOPX4Dfa5g1Stlzdr3OnKMaD/DZXTMHfDlKzsfbJ8605H1Aoz1spT5p1KBbEHOv7zXVXxtNPABB8jLwO02/rnCMl61o4GV2KAHKuZMKLKsVCW/O4vI/SMZI4Jtzb8MPUl4eDhgmM9mVAHZqalx4UYaG2gFPR8P0qZeWbsgssGEWoSoAo+SPblh0CaXjFJYXa9Qrg86S86CI68FojMXJ2igLuA3CemBZBWfXxGCk2RHnvybYqLR+wMZDiPIs95iTMIT6KhS4hynS2p4Qr7zbtgNa/Y9zMVsbrn1cNp/KvDmBd08iZ7XOqH1GTYZGZvgmIODxsrxL039Ud60UuC1+58nuRFPddIoetUWEEgMsiPnKRBF9nuV1eZLZ+yQ1G8T4D+DA==
  • Ironport-sdr: WXQIcGdLSKvIs3npk8fhSp+4yBjur9vv24rPRdEIrgv2eoeHweL4aKO0CrZPs8Ags/QmXNL1QI 0mRbV3TjiiIw==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

These are the patches needed for porting Python 3 on Unikraft. To put it
simple, the summary would sound like this:
- The first 3 patches are quite common.
- The next 5 add and customize configuration files needed by the Python
  interpreter. These files are changed in order to run on Unikraft.
- The next 2 add a bit more glue code.
- The next patch adds a make target for creating Python environments which will
  be needed for testing.
- The last one adds the configuration option for running the main() function
  from the external library, which would simplify the creation of an app.

Besides mounting the filesystem, all the other dependencies are already sent on
the mailing list.

Costin Lupu (2):
  Makefile.uk: Add rule for creating root filesystem
  Provide main() function if configured to do so

Vlad-Andrei Badoiu (10):
  Introduce library skeleton
  Add Makefile.uk
  patches: Fix build issues
  pyconfig.h: Introduce file
  pyconfig.h: Disable features that are not avaiable on Unikraft
  _sysconfigdata.py: Introduce file
  _sysconfigdata.py: Disable features that are not avaiable on Unikraft
  Add modules_config.c
  Add stubs.c for stubbed functions
  Add init.c for initialization

 .gitignore                                    |   27 +
 CODING_STYLE.md                               |    4 +
 CONTRIBUTING.md                               |    4 +
 COPYING.md                                    |   39 +
 Config.uk                                     |   38 +
 MAINTAINERS.md                                |   12 +
 Makefile.uk                                   |  474 +++++
 README.md                                     |    7 +
 _sysconfigdata.py                             |  707 ++++++++
 exportsyms.uk                                 |    1 +
 include/pyconfig.h                            | 1587 +++++++++++++++++
 init.c                                        |   46 +
 main.c                                        |    8 +
 modules_config.c                              |  315 ++++
 ...1-Undefine-HAVE_FORK-and-HAVE_EXECVE.patch |   26 +
 patches/0002-Add-cast-for-pthread_t.patch     |   30 +
 stubs.c                                       |   45 +
 17 files changed, 3370 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 CODING_STYLE.md
 create mode 100644 CONTRIBUTING.md
 create mode 100644 COPYING.md
 create mode 100644 Config.uk
 create mode 100644 MAINTAINERS.md
 create mode 100644 Makefile.uk
 create mode 100644 README.md
 create mode 100644 _sysconfigdata.py
 create mode 100644 exportsyms.uk
 create mode 100644 include/pyconfig.h
 create mode 100644 init.c
 create mode 100644 main.c
 create mode 100644 modules_config.c
 create mode 100644 patches/0001-Undefine-HAVE_FORK-and-HAVE_EXECVE.patch
 create mode 100644 patches/0002-Add-cast-for-pthread_t.patch
 create mode 100644 stubs.c

-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.