bpo-31904 : Python should support VxWorks RTOS #4179
Closed
kuhlenough wants to merge 23 commits intopython:masterfrom
Closed
bpo-31904 : Python should support VxWorks RTOS #4179kuhlenough wants to merge 23 commits intopython:masterfrom
kuhlenough wants to merge 23 commits intopython:masterfrom
Conversation
kuhlenough
commented
Oct 30, 2017
| #endif | ||
| if (msg->msg_controllen < 0) | ||
| return 0; | ||
| if (space < cmsg_len_end) |
Author
There was a problem hiding this comment.
This is mistake will have recall the pull request and move this back where it was orignally
kuhlenough
commented
Oct 30, 2017
| if $interp -c "import sys;sys.exit(not '.'.join(str(n) for n in sys.version_info[:2]) == '$PACKAGE_VERSION')"; then | ||
| break | ||
| fi | ||
| interp= |
Author
There was a problem hiding this comment.
I could restore this?
But I'm not sure it's necessary?
Do you automatically rewrite ./configure and check in ./configure.ac has changed, or do I need to supply it in my pull?
If I do need to provide an updated ./configure in the pull, do I have to use a specific version of autotools ( I notice this one is a bit dated ?)
kuhlenough
commented
Oct 30, 2017
|
|
||
| ext = Extension('_ctypes', | ||
| include_dirs=include_dirs, | ||
| extra_compile_args=extra_compile_args, |
All doesn't include shared if static build Hardwire asscii encoding for VxWorks default to UTF-8 (like Android) Semicolon as path separator If build is configure'd for static, propigate to Makefile Add detection for oddly named VxWorks OPENSSL and HASH libraries Fix some warnings with unused functions and macro re-def Extra include in faulthandler.c Avoid duplicate macro definition Setup.py complies all VxWorks compatible modules Update some extension modules to compile on VxWorks VxWorks does not have "timezone" and daylight "constants" Limited signal fields in VxWorks undef DATE TIME for VxWorks
# Conflicts: # setup.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request enables cpython to cross-build on VxWorks (the world’s leading RTOS and the only interplanetary OS)
This does not provide complete configuration of all target systems possible. It's assumed that the user is familiar with automake cross-builds and has called ./configure with the appropriate environment (CFLAGS,LDFLAGS, CC,CCP, etc) and appropriate site.config and configuration arguments.
VxWorks 7 currently supports Intel, ARM and PowerPC processors running in 32bit and 64bit mode compiled with GCC, ICC, a llvm/clang variant, or Wind River’s Diab compiler. So the verification matrix is large and subsequent pull requests will address the various variants as they are validated.
This pull also also includes some support for automake's --enable-shared=no functionality. If this non-default flag is set, various targets and flags are disabled in Make.pre.in and thus the generated Makefile
Validated with GCC 4.8.1.10 as provided with VxWorks 7
.. and an appropriate site.config
https://bugs.python.org/issue31904