Commit Graph

59 Commits

Author SHA1 Message Date
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
Michael Droettboom f4280c25b0 Add a hard-coded pyconfig.h 2018-09-21 17:02:00 -04:00
Roman Yurchak a711d059d5 Simplify traceback on package load timeout 2018-09-20 12:51:11 +02:00
Michael Droettboom 56562257ef Fix #71: Upgrade to Python 3.7 2018-09-06 10:56:33 -04:00
Michael Droettboom 3c8bcae56b Don't include full paths in sysconfigdata 2018-08-21 11:29:36 -04:00
Michael Droettboom 6c1b25101b Fix some tests 2018-07-25 11:07:57 -04:00
Michael Droettboom 5c5bf6adf3 Obsoletes #22. Include all codecs, since removing tests imp. size. 2018-07-25 07:27:15 -04:00
Michael Droettboom 409fe3b3f4 Use ccache 2018-07-24 12:58:31 -04:00
Michael Droettboom b537908b2b Simplify Makefiles. Support parallel compilation. 2018-05-16 13:06:44 -04:00
Michael Droettboom 5a7992f87b More floating-point-related tests passing 2018-05-11 10:52:34 -04:00
Michael Droettboom 8b1c538ef2 Mark broken tests so the test suite runs 2018-04-11 15:26:19 -04:00
Michael Droettboom e382ada4ce More progress on running CPython tests 2018-04-09 15:53:33 -04:00