Commit 183cef70 authored by Roman Yurchak's avatar Roman Yurchak Committed by GitHub

Merge pull request #187 from mdboom/hardcode-pyconfig-h

Add a hard-coded pyconfig.h
parents dda6557b 1ab92bc7
...@@ -89,6 +89,7 @@ $(BUILD)/Makefile: $(BUILD)/.patched $(ZLIBBUILD)/.patched ...@@ -89,6 +89,7 @@ $(BUILD)/Makefile: $(BUILD)/.patched $(ZLIBBUILD)/.patched
$(BUILD)/$(LIB): $(BUILD)/Makefile $(HOSTPYTHON) $(HOSTPGEN) Setup.local $(BUILD)/$(LIB): $(BUILD)/Makefile $(HOSTPYTHON) $(HOSTPGEN) Setup.local
cp Setup.local $(BUILD)/Modules/ cp Setup.local $(BUILD)/Modules/
cat pyconfig.undefs.h >> $(BUILD)/pyconfig.h
( \ ( \
cp build/$(PYVERSION)/host/lib/python$(PYMINOR)/`$(HOSTPYTHON) -c "import sysconfig; print(sysconfig._get_sysconfigdata_name())"`.py build/$(PYVERSION)/Python-$(PYVERSION)/Lib/_sysconfigdata__emscripten_.py; \ cp build/$(PYVERSION)/host/lib/python$(PYMINOR)/`$(HOSTPYTHON) -c "import sysconfig; print(sysconfig._get_sysconfigdata_name())"`.py build/$(PYVERSION)/Python-$(PYVERSION)/Lib/_sysconfigdata__emscripten_.py; \
cd $(BUILD); \ cd $(BUILD); \
......
#undef HAVE_EPOLL
#undef HAVE_EPOLL_CREATE1
#undef HAVE_LINUX_VM_SOCKETS_H
#undef HAVE_SOCKETPAIR
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
# - permissions: Issues with the test writing to the virtual filesystem # - permissions: Issues with the test writing to the virtual filesystem
# - locale: Fails due to limitations in the included locale implementation. # - locale: Fails due to limitations in the included locale implementation.
# - multiprocessing: Fails due to no multiprocessing implementation. # - multiprocessing: Fails due to no multiprocessing implementation.
# - fs: Fails due to virtual filesystem issues.
# - nonsense: This functionality doesn't make sense in this context. Includes # - nonsense: This functionality doesn't make sense in this context. Includes
# things like `pip`, `distutils` # things like `pip`, `distutils`
# #
...@@ -148,7 +149,7 @@ test_dictcomps ...@@ -148,7 +149,7 @@ test_dictcomps
test_dictviews test_dictviews
test_difflib test_difflib
test_dis test_dis
test_distutils crash test_distutils nonsense
test_doctest subprocess test_doctest subprocess
test_doctest2 test_doctest2
test_docxmlrpc socket test_docxmlrpc socket
...@@ -177,7 +178,7 @@ test_ensurepip nonsense ...@@ -177,7 +178,7 @@ test_ensurepip nonsense
test_enum threading test_enum threading
test_enumerate test_enumerate
test_eof test_eof
test_epoll crash test_epoll
test_errno test_errno
test_exception_hierarchy test_exception_hierarchy
test_exception_variations test_exception_variations
...@@ -218,7 +219,7 @@ test_getargs2 ...@@ -218,7 +219,7 @@ test_getargs2
test_getopt test_getopt
test_getpass permissions test_getpass permissions
test_gettext test_gettext
test_glob crash test_glob fs
test_global test_global
test_grammar test_grammar
test_grp test_grp
...@@ -236,12 +237,12 @@ test_httpservers threading ...@@ -236,12 +237,12 @@ test_httpservers threading
test_idle test_idle
test_imaplib socket test_imaplib socket
test_imghdr test_imghdr
test_imp crash test_imp fs
test_importlib.builtin.test_finder test_importlib.builtin.test_finder
test_importlib.builtin.test_loader test_importlib.builtin.test_loader
test_importlib.extension.test_case_sensitivity test_importlib.extension.test_case_sensitivity
test_importlib.extension.test_finder crash test_importlib.extension.test_finder fs
test_importlib.extension.test_loader crash test_importlib.extension.test_loader fs
test_importlib.extension.test_path_hook test_importlib.extension.test_path_hook
test_importlib.frozen.test_finder test_importlib.frozen.test_finder
test_importlib.frozen.test_loader test_importlib.frozen.test_loader
...@@ -303,7 +304,7 @@ test_keyword subprocess ...@@ -303,7 +304,7 @@ test_keyword subprocess
test_keywordonlyarg test_keywordonlyarg
test_kqueue test_kqueue
test_largefile test_largefile
test_lib2to3 crash test_lib2to3 nonsense
test_linecache test_linecache
test_list test_list
test_listcomps test_listcomps
...@@ -313,10 +314,10 @@ test_long ...@@ -313,10 +314,10 @@ test_long
test_longexp test_longexp
test_lzma test_lzma
test_macpath platform-specific test_macpath platform-specific
test_mailbox crash test_mailbox fs
test_mailcap nonsense test_mailcap nonsense
test_marshal test_marshal
test_math floating-point test_math floating point
test_memoryio test_memoryio
test_memoryview test_memoryview
test_metaclass test_metaclass
...@@ -346,7 +347,7 @@ test_os mmap ...@@ -346,7 +347,7 @@ test_os mmap
test_ossaudiodev test_ossaudiodev
test_osx_env test_osx_env
test_parser test_parser
test_pathlib crash test_pathlib fs
test_pdb subprocess test_pdb subprocess
test_peepholer test_peepholer
test_pickle dbm test_pickle dbm
...@@ -373,7 +374,7 @@ test_pulldom ...@@ -373,7 +374,7 @@ test_pulldom
test_pwd crash test_pwd crash
test_py_compile test_py_compile
test_pyclbr test_pyclbr
test_pydoc crash test_pydoc threading
test_pyexpat test_pyexpat
test_queue threading test_queue threading
test_quopri subprocess test_quopri subprocess
...@@ -406,7 +407,7 @@ test_signal ...@@ -406,7 +407,7 @@ test_signal
test_site subprocess test_site subprocess
test_slice test_slice
test_smtpd test_smtpd
test_smtplib baad ioctl syscall 21537 test_smtplib bad ioctl syscall 21537
test_smtpnet test_smtpnet
test_sndhdr audioop test_sndhdr audioop
test_socket test_socket
...@@ -433,7 +434,7 @@ test_subprocess ...@@ -433,7 +434,7 @@ test_subprocess
test_sunau audioop test_sunau audioop
test_sundry nonsense test_sundry nonsense
test_super test_super
test_support crash test_support multiprocessing
test_symbol test_symbol
test_symtable test_symtable
test_syntax test_syntax
...@@ -445,7 +446,7 @@ test_syslog ...@@ -445,7 +446,7 @@ test_syslog
test_tarfile crash test_tarfile crash
test_tcl test_tcl
test_telnetlib bad ioctl syscall 21537 test_telnetlib bad ioctl syscall 21537
test_tempfile crash test_tempfile fs
test_textwrap test_textwrap
test_thread threading test_thread threading
test_threaded_import floating point test_threaded_import floating point
...@@ -480,7 +481,7 @@ test_types ...@@ -480,7 +481,7 @@ test_types
test_typing unknown test_typing unknown
test_ucn test_ucn
test_unary test_unary
test_unicode crash test_unicode floating point
test_unicode_file test_unicode_file
test_unicode_file_functions test_unicode_file_functions
test_unicode_identifiers test_unicode_identifiers
...@@ -503,10 +504,10 @@ test_utf8_mode ...@@ -503,10 +504,10 @@ test_utf8_mode
test_utf8source test_utf8source
test_uu test_uu
test_uuid subprocess test_uuid subprocess
test_venv crash test_venv nonsense
test_wait3 threading test_wait3 threading
test_wait4 threading test_wait4 threading
test_wave crash test_wave audioop
test_weakref threading test_weakref threading
test_weakset test_weakset
test_webbrowser replaced test_webbrowser replaced
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment