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

[Minios-devel] [UNIKRAFT/PYTHON3 PATCH v3 13/14] Config.uk: Add configuration options for extensions


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Mon, 23 Sep 2019 12:58:51 +0300
  • Cc: felipe.huici@xxxxxxxxx, vlad_andrei.badoiu@xxxxxxxxxxxxxxx
  • Delivery-date: Mon, 23 Sep 2019 09:59:31 +0000
  • Ironport-phdr: 9a23:sz2fJRf6GbM+EckOIY068AktlGMj4u6mDksu8pMizoh2WeGdxcW5Zx7h7PlgxGXEQZ/co6odzbaP6Oa6CSdaud7B6ClELMUWEUddyI0/pE8JOIa9E0r1LfrnPWQRPf9pcxtbxUy9KlVfA83kZlff8TWY5D8WHQjjZ0IufrymUoHdgN6q2O+s5pbdfxtHhCanYbN1MR66sRjdutMZjId/JKs90AXFr3hHd+hI2W9jOFafkwrh6suq85Nv7jpct+g9+8JcVKnxYrg1Q6FfADk6KW4++dfltQPETQuB53scVnsZnx9VCAXb7x/0Q4n8vDLiuuVyxCeVM8v2TaspWTu59KdkVAXoiCYcODEn9mzcl9F9g7haoBKloBx/3pLUbYSIP/dwYq/RYdUXTndHU81MVSJOH5m8YpMPAeQfIOhWoYrzqVwMohuwHgSgGP/jxyVUinLswaE2z+IsGhzG0gw6GNIOtWzZocvyNKcJTeC1za/IxijFYfNLwTf99ZXDfxc9rvGLRrJwbcvRyU81GwPBk1WQsZHlMiiJ2eQWqWSb9/dgWvm1h249rAF8uz6izdovhInRno8Z11/J+ThjzIs2JdC0UlB3bcCmHZdKuSyWL5Z6T8w/T21yuys3yqcKtYC1cSUE0pgr2hHSZ+KBfoOV+BzsTvyRLi19hH99fbK/gAu9/la4x+3nU8m0zE5Kri1YktnQrnwN1wLc6syASvZl4Eeh3CyA1wHX6u1ePU80jrDXK4Y8wrErjJYTq0PDEjf3mEXwkqCWal0p9vWn5uj6eLnrpZ+RO5Vqhg3gMKkigMKyDfw9MgcUXmib/eq81Kfk/U38WLhFkvo2krLFsJDbI8QXvKq5AxJN0oY+8BuwEyym3M4AnXkaN11JYgiHj4/xN1HUPP/4Feu/g0irkDpzwvDGP7vhApTKLnjYibvuYKhy61BCxwo31t1f45NUCqodIPLoQEPwu8LXDhkjPwyz2ebnB8131pkCVmKXHq+ZLKTSvEeG5u0xJ+mMZZcVtyjnJ/gl+v7ujGM2mV4GcKmvw5QYdHS4Ee59LEmDf3Xsn88LEX0WsQomUOzqlFqCXCZNZ3a2Ra0z+yk0B5igDYjeXICinr2B0D2gEZJMe29GDVGMEWrzeoWfR/cMdT+dLtV7nTMYTritUZIh1Qm1uwPg0bpnKbmcxipNsJPl1d9uouHeixw23Th1FNiGlXGASSdzhGxbaSUx2fVUpldhy1HL9bVgnrQMHttI+/JPFAMnLYP0xPc8E834HBjGKITaAG26S8mrVGliBuk6xMUDNh5w
  • Ironport-sdr: vkGmbQPDC7MFmQdtSxXSDFh6P5tWgASTq4Ev+BnhrQ8NYq1l7Dxmigizame9Z3uR8TbGOAHpTG LJdgyYk30VAw==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

We currently configure the following extensions: XML parsing with Expat lib,
decimal operations with libmpdec, SSL, UUID and zlib. Sqlite will be
automatically supported when the external library will be released.

Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
 Config.uk | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/Config.uk b/Config.uk
index 80a557a..6ebab45 100644
--- a/Config.uk
+++ b/Config.uk
@@ -35,4 +35,43 @@ config LIBPYTHON3_MAIN_FUNCTION
        bool "Provide main function"
        default n
 
+
+menuconfig LIBPYTHON3_EXTENSIONS
+       bool "Extensions"
+       default n
+
+if LIBPYTHON3_EXTENSIONS
+config LIBPYTHON3_EXTENSION_EXPAT
+       bool "Expat XML parser"
+       default y
+if LIBFFI
+#config LIBPYTHON3_EXTENSION_CTYPES
+#      bool "ctypes"
+#      default y
+endif
+config LIBPYTHON3_EXTENSION_LIBMPDEC
+       bool "Decimal operations with libmpdec"
+       default y
+if LIBSQLITE
+config LIBPYTHON3_EXTENSION_SQLITE
+       bool "sqlite"
+       default y
+endif
+if LIBSSL
+config LIBPYTHON3_EXTENSION_SSL
+       bool "SSL"
+       default y
+endif
+if LIBUUID
+config LIBPYTHON3_EXTENSION_UUID
+       bool "UUID"
+       default y
+endif
+if LIBZLIB
+config LIBPYTHON3_EXTENSION_ZLIB
+       bool "zlib"
+       default y
+endif
+endif
+
 endif
-- 
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®.