Skip to content

Commit

Permalink
Update to upstream Python 3.10.11
Browse files Browse the repository at this point in the history
This change updates the unikraft port of python to 3.10, bringing
patches, pyconfig.h and modules_config.c up to date.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #15
  • Loading branch information
andreittr authored and unikraft-bot committed Aug 11, 2023
1 parent 6a2ee03 commit 2dd1837
Show file tree
Hide file tree
Showing 11 changed files with 650 additions and 247 deletions.
19 changes: 10 additions & 9 deletions Config.uk
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
menuconfig LIBPYTHON3
bool "Python 3"
default n
select LIBNEWLIBC
select LIBNEWLIBC_WANT_IO_C99_FORMATS if LIBNEWLIBC
select LIBNEWLIBC_LINUX_ERRNO_EXTENSIONS if LIBNEWLIBC
imply LIBMUSL
imply LIBCOMPILER_RT
select LIBUKDEBUG
select LIBUKALLOC
select LIBUKSCHED
select LIBUKSIGNAL
select LIBPOSIX_SYSINFO
select LIBPOSIX_USER
select LIBPOSIX_LIBDL
Expand All @@ -15,20 +15,20 @@ menuconfig LIBPYTHON3
select LIBPTHREAD_EMBEDDED
select LIBPOSIX_SOCKET
select LIBPOSIX_EVENT
select LIBLWIP
select LWIP_DHCP
select LWIP_DNS
select LWIP_IPV6
imply LIBLWIP
imply LWIP_DHCP
imply LWIP_DNS
imply LWIP_IPV6

if LIBPYTHON3

config LIBPYTHON3_PYTHONHOME
string "Python home directory"
default "/lib/python3.7"
default "/lib/python3.10"

config LIBPYTHON3_PYTHONPATH
string "Python path"
default "/lib/python3.7"
default "/lib/python3.10"

config LIBPYTHON3_TMPDIR
string "Temp directory location"
Expand All @@ -55,6 +55,7 @@ config LIBPYTHON3_EXTENSION_EXPAT
if LIBFFI
config LIBPYTHON3_EXTENSION_CTYPES
bool "ctypes"
select LIBFFI_NO_TYPES
default y
endif
config LIBPYTHON3_EXTENSION_LIBMPDEC
Expand Down
94 changes: 59 additions & 35 deletions Makefile.uk

Large diffs are not rendered by default.

Loading

0 comments on commit 2dd1837

Please sign in to comment.