Commit Graph

70 Commits

Author SHA1 Message Date
Hood Chatham 3e3d6eb8a9
ENH Support PyErr_CheckSignals interrupts (#1294) 2021-09-26 11:53:46 -07:00
Hood Chatham 6eac16825c
Update libffi to tip of tree (#1760) 2021-07-30 16:54:27 +02:00
Hood Chatham 6059fc7652
Remove fpcast calls from CALL_FUNCTION opcode (#1699) 2021-07-18 15:04:42 -07:00
Paul m. p. P d4a705bde2
Use PYMAJOR/PYMINOR according to Python devguide (#1570)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-07-06 13:28:39 +02:00
Hood Chatham 46eee26ff8
Various improvements in core (#1673) 2021-07-01 10:47:44 -07:00
Hood Chatham 447da28e80
Up to date libffi port (with varargs support) (#1674) 2021-06-29 19:01:19 -07:00
Hood Chatham 653891b045
ENH Add Ctypes support (#1656) 2021-06-26 10:34:31 +02:00
Hood Chatham b4f4bcffdc
Update to Python 3.9.5 (#1637)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-06-19 15:49:25 -07:00
Ian Clester 2ca25cd348
Include 'audioop' in standard library. (#1623)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-06-06 12:01:39 +02:00
dmondev 67678a6c7f
getting bzip2,libxml,libxslt from http instead of ftp (#1400) 2021-03-31 21:04:58 -07:00
joemarshall b22b4f0c9e
Move all configuration variables for compile into Makefile.envs (#1369) 2021-03-26 15:37:59 +01:00
joemarshall 1bd8380c01
Emscripten 2.0.12 Upstream backend (#1102)
Co-authored-by: Dexter Chua <dalcde@users.noreply.github.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-02-06 08:58:12 +01:00
Hood Chatham f8d363822c
Patch ceval to add callback to use for KeyboardInterrupt handling (#1148)
* Patch ceval to add interrupt handler callback

* Don't use SharedArrayBuffer in test, Firefox doesn't expose it

* Fix test

* Retest

Co-authored-by: Jan Max Meyer <jmm@phorward.de>
2021-01-20 23:27:28 +01:00
Dexter Chua 5f3528fb74
BLD Remover linker flags when building cpython (#1137)
We never link when building cpython; we simply generate object files and
put them in an archive.
2021-01-15 10:45:24 +01:00
Dexter Chua 72555048b6
BLD Don't copy artifacts to root (#1096) 2021-01-10 18:19:34 +01:00
Dexter Chua 2aa8982990
Actually generate a sysconfigdata.py (#1044)
Previously, we simply copied from the host, which has wildly incorrect
values. Fixes #1042
2021-01-05 14:14:55 +01:00
Dexter Chua a211802b44
Slightly simplify cpython patch (#1023) 2021-01-03 09:48:16 +01:00
Dexter Chua 2dfeba4c05
Build with -fPIC (#1008)
This is needed for the upstream backend, and I believe is a noop under
the fastcomp backend

Co-authored-by: Michael Droettboom <mdboom@gmail.com>
Co-authored-by: Joe Marshall <joe.marshall@nottingham.ac.uk>
2021-01-02 09:17:14 +01:00
Dexter Chua 208fa57bcf
Explicitly tell sqlite popen is not available (#999) 2021-01-01 10:45:44 +01:00
Dexter Chua 043f699c3f
Remove superfluous CPython patch (#993) 2020-12-31 18:22:33 +01:00
Dexter Chua 9e6a9f426d
Remove some unneeded CPython patches (#994) 2020-12-31 18:19:24 +01:00
Nicolas Ollinger 5d19ab2a3e
FIX update bzip2 url (#868) 2020-12-16 17:55:05 +01:00
Dexter Chua 452b379363
Upgrade to emscripten 1.38.42 (#843) 2020-12-15 08:56:43 +01:00
Dexter Chua e8cc4e8835
PKG Configure zlib, not patch (#849)
The #include <unistd.h> line is added in zconf.h, which is generated by
configure.
2020-12-12 12:33:33 +01:00
Dexter Chua 0d2a9f9ffe
BLD Remove undefined flags (#842)
In python's Makefile generated by makesetup, SQLITEBUILD and BZIP2BUILD
are not defined, so we are left with empty -I and -L commands. These
manage to build by virtue of us inserting -I/path/to/sqlite and
-I/path/to/bzip2 to every single build command.

This commit does the same for zlib for consistency.
2020-12-10 20:38:47 +01:00
Dexter Chua c870b3ebf5
BLD Replace sqlite patch with Makefile configuration (#841)
When sqlite was originally added, the issue
described was bypassed by patching the python files. An alternative
workaround is used here that doesn't require any patching.
2020-12-10 09:01:17 +01:00
Dexter Chua 688ec60a40
Remove unnecessary no_af_vsock patch (#839)
In `pyconfig.undefs.h` we have undefined `HAVE_LINUX_VM_SOCKETS_H`, and
based on that, `Modules/socketmodule.h` already undefines `AF_VSOCK` for
us.
2020-12-09 08:21:08 +01:00
Dexter Chua 0defcb3825
BLD Don't compile host python (#830) 2020-12-08 00:19:16 +01:00
Roman Yurchak 41b9ad1a7b
Remove threading patches and don't remove multiprocessing module (#796) 2020-11-22 11:25:36 +01:00
Roman Yurchak bcc4f6b521
MNT Clean-up root folder (#714)
* Move six

* Move jedi and parso

* Move lz4

* Move CLAPACK

* Move zlib and libxslt

* Move libiconv and libxml

* Remobe netlify/state.json and move remove_modules to cpython

* Move bumpversion.cfg to setup.cfg

* Reset cache

* Fix test_common.py
2020-07-08 16:58:10 +02:00
Roman Yurchak fc5495ffdb
Update to Python 3.8.2 (#712)
* Updating to CPython 3.8

* More fixes

* Skip python headers check in tools/dependency-check.sh

* Fix checksum

* Fix packages

* Fix syntax error

* Fix benchmark path

* Update CPython tests

* More test fixes

* Fix PyStone

* More Cpython test fixes

* Update docs

* Fix issue in conftest

* Add documentation

* Upload updated Docker image
2020-07-07 16:21:33 +02:00
Roman Yurchak 0e26ca0642
BLD Build CLAPACK, cpython and lz4 in parallel (#701) 2020-06-28 15:51:46 +02:00
Adam Seering 3ec7849cfe
ENH Upgrade cpython to 3.7.4 (#625) 2020-03-25 12:31:12 +01:00
Adam Seering 7c0cbf61f4
Upgrade cpython to 3.7.3 (#624) 2020-03-18 10:36:50 +01:00
Michael Droettboom 2f2ed8fc26
Upgrade to Python 3.7.2 (#321)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-03-12 13:30:33 +01:00
Adam Seering f71b69bf7c
ENH Upgrade to Python 3.7.1 (#619) 2020-03-11 11:32:30 +01:00
William Lachance 96adc4b82d Fixes/tweaks to the cross-compilation process to accomodate Mac 2019-10-21 12:27:18 -04:00
William Lachance 01175702fc Add openssl to include paths for building host copy of cpython
This should be a no-op on Linux, but is needed for Mac
2019-10-21 12:27:18 -04:00
Marc Abramowitz c49249854e Build _bz2 module (#364) 2019-08-22 07:43:18 -04:00
Roman Yurchak 6898c871f3
Add mmap module (#468) 2019-06-18 17:55:28 -07:00
Marc Abramowitz b6d9a6353b Add crypt module (#369) 2019-04-04 13:55:15 -04:00
Marc Abramowitz ac76220b59 Enable building sqlite3 into cpython (#352)
* Enable building sqlite3 into cpython
2019-03-26 08:44:21 -04:00
Marc Abramowitz 990fbaa578
Link to @dgym 2019-03-18 21:33:32 -07:00
Michael Droettboom 1b031347a3 Build the _decimal C module 2019-02-25 11:29:59 -05:00
Michael Droettboom 2607e426f6 Make cProfile work 2018-11-08 15:20:53 -05:00
Roman Yurchak 436eba4b5f undef HAVE_SYS_IOCTL_H 2018-10-03 15:18:29 +02:00
Roman Yurchak 3b302d7ced Update passing tests 2018-10-03 15:18:29 +02:00
Roman Yurchak b86101a58d Disable untested/unsupported syscalls 2018-10-03 15:18:29 +02:00
Roman Yurchak 79b908938b Set #undef HAVE_UTIMENSAT and HAVE_SIGACTION 2018-09-27 11:10:43 +02:00
Michael Droettboom 1ab92bc77f Implement pyconfig.h changes as something to be appended to end. 2018-09-25 16:53:40 -04:00