bpo-31904 : Add support for VxWorks RTOS#4184
Conversation
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
|
Travis failures appear completely unrelated to this pull request? |
Sorry, something went wrong.
…ries if configured for static build ( i.e. ./configure --enable-shared=no )
(needs additional automake support)
(for Travis checkpatch)
Conflicts: Modules/faulthandler.c Modules/mmapmodule.c
Conflicts: Modules/mmapmodule.c
Who is "we" here? Are you just a happy VxWorks user or are you working for the org or company that owns it (assume there is such an org or company)? |
Sorry, something went wrong.
This reverts commit 7f38637. # Conflicts: # Doc/tools/templates/indexsidebar.html
|
Wind River owns VxWorks. ( https://www.windriver.com/products/vxworks/ It really is the most pervasive OS you've never heard of. ) I'm a manager at Wind River, as side project I contribute VxWorks support to open source projects. I work with the VxWorks Product Manager. The product manager, Michel, wants "official" python support. In reply to bpo-31904 bug/enhancement Victor (vstinner) mentioned we should have a buildbot to run against pull requests as part of any official support. So I hired an intern, Oscar @ooosssososos, to work on that. He's also been working on getting the test suite to pass with VxWorks. ( His work term ends soon, so we just merged his work into my branch and it seems we got some unwanted commits with that :( ) On my side I'd like to get some additional POSIX support into VxWorks, e.g. proper handling of fcntl( ,F_SETFD, FD_CLOEXEC) and that effort may take awhile. |
Sorry, something went wrong.
|
The code quality in this PR is pretty far from the standard needed to get merged into cpython. The number of changes needed to support VxWorks doesn't look too extreme. So, if we do want to support it, I think it can be done without too much pain. Probably we should decide if we are able to support the new platform before putting a lot of effort into polishing the code and getting it to the quality sufficient for merging. |
Sorry, something went wrong.
|
This PR is just too big, it's not possible to review it. I close it. You should continue the effort that you already started to split such giant PR into "atomic" changes for fix one issue per PR. |
Sorry, something went wrong.
|
NP. thanks fro your support Victor |
Sorry, something went wrong.
This pull request enables cpython to cross-build on VxWorks, it is obsolete and only provided for reference of the scope of changes..
Smaller more manageable PRs against the current master as requested on python-dev will follow.