Commit Graph

1075 Commits

Author SHA1 Message Date
Dexter Chua 77b2a99697
Test emsdk patches (#905) 2020-12-21 11:20:11 +08:00
Hood Chatham 93e547a2b5
Reorganized type conversions tests into separate files (#898) 2020-12-20 20:00:14 +01:00
Dexter Chua 808de0ed6d
Update emscripten to 1.38.43 (#903) 2020-12-20 19:37:46 +08:00
Dexter Chua 143ce603d7
BLD Clean up CLAPACK build (#901)
The biggest change is that most of `0001-hacks-for-WebAssembly-build.patch` is eliminated, and the remaining is split up into individual single-purpose patches with corresponding documentation.

Most of `0001-hacks-for-WebAssembly-build.patch` is in fact unnecessary. We can continue to produce `.a` files instead of `.bc` files, and all we have to do to make it build is to set `$(ARCH) = emar` and `$(RANLIB) = emranlib`. In fact, we don't have to set them to anything, since the point of emmake is to set these for us (except emmake uses `$(AR)` so we set `$(ARCH) = $(AR)`).

There are places where `ar` and `cc` etc. are used directly instead of the variables; we use `sed` to fix this in the parent `Makefile` instead of patching.

In addition, there are also the following changes:
 - Change the build system to build CLAPACK-WA/INSTALL as well. We should always have built it, but we managed to get away with not doing so due to a bug in emscripten that is fixed in 1.38.43. See https://github.com/iodide-project/pyodide/pull/843#issuecomment-744428471
 - Generate `F2CLIB/libf2c/arith.h` properly instead of setting it to an empty file.
 - Remove a seemingly unnecessary patch (945f06c46e)
2020-12-20 18:30:12 +08:00
casatir 5f8e226d6a
PKG Upgrade matplotlib to v3.3.3 (#886) 2020-12-20 10:37:05 +01:00
casatir 0bc63387f4
PKG Fix Python 3.8 warnings in mpmath (#894) 2020-12-19 19:54:17 +01:00
casatir 4e976df897
yt update (#890) 2020-12-19 00:28:51 +01:00
Roman Yurchak 641ce219b8
Use PYODIDE_BASE_URL for the deployment location (#855) 2020-12-18 13:23:45 +01:00
Dexter Chua 0de8ddb0cf
MAINT Move all lint commands to Makefile (#879) 2020-12-17 10:54:23 +01:00
Nicolas Ollinger e79c1ab238
PKG add scikit-image package (#866)
Co-authored-by: Chigozie Nri <chigozie@gmail.com>
2020-12-16 21:46:27 +01:00
mojighahar 1cae0208e3
DOC fix typo on using_pyodide_from_javascript.md (#871) 2020-12-16 21:05:11 +01:00
Nicolas Ollinger 5d19ab2a3e
FIX update bzip2 url (#868) 2020-12-16 17:55:05 +01:00
Nicolas Ollinger 3a06f5dfcb
add pillow package (#861) 2020-12-15 10:18:39 +01:00
Dexter Chua 452b379363
Upgrade to emscripten 1.38.42 (#843) 2020-12-15 08:56:43 +01:00
Dexter Chua 9cd79f4418
Document some emsdk patches (#863) 2020-12-15 08:53:52 +01:00
Dexter Chua 0c91434bb6
Rerun failed tests sequentially (#859) 2020-12-14 18:05:15 +01:00
Dexter Chua 1a0a474f94
Tidy up CLAPACK patches (#862) 2020-12-14 18:04:02 +01:00
Roman Yurchak 3dbb4ebff3
Merge CLAPACK patches together (#856) 2020-12-14 12:05:18 +01:00
Dexter Chua 67cf3abc0e
Remove ERROR_ON_MISSING_LIBARIES=0 (#858) 2020-12-14 12:04:26 +01:00
Dexter Chua a012a6677b
Add pyodide-interrupt package (#852) 2020-12-14 09:16:13 +01:00
Dexter Chua c7c445e83c
Undo part of CLAPACK patch 0003 (#860) 2020-12-14 09:14:03 +01:00
Dexter Chua 34026265fc
Remove lz4_c patch (#851) 2020-12-13 12:41:22 +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 dd616b5265
Fix cache saving (#850) 2020-12-12 12:31:21 +01:00
casatir 349567c02e
FIX micropip not getting last version from PyPi (#846)
Co-authored-by: Romain Casati <romain.casati@webati.fr>
2020-12-12 11:47:01 +01:00
Dexter Chua 03447f9fff
Use newer docker image in run_docker (#848) 2020-12-12 11:31:53 +01:00
Dexter Chua f7511aed85
JS Don't write our own instantiateWasm code (#844) 2020-12-11 16:54:25 +01:00
Roman Yurchak db9f12826f
Split build for core and packages in CI pipeline (#828) 2020-12-11 16:47:47 +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 861746a675
Build packages in parallel (#840) 2020-12-10 20:37:08 +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 ff7ec612c5
BLD Remove --host argument in pyodide_build (#836) 2020-12-08 10:22:57 +01:00
Dexter Chua 9e050c143c
Remove clang-format symlink in config.yml (#837) 2020-12-08 09:01:58 +01:00
Roman Yurchak 068cb3678e
BLD Fix for compiler_compat flag in conda env (#835) 2020-12-08 09:00:53 +01:00
Dexter Chua 0defcb3825
BLD Don't compile host python (#830) 2020-12-08 00:19:16 +01:00
Dexter Chua 331756a5cd
Run tests in parallel with pytest-xdist (#833) 2020-12-07 09:19:31 +01:00
Dexter Chua 81df4e24a7
Simplify Docker image (#815)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-12-06 21:17:17 +01:00
Roman Yurchak 411a058d7b
TST Replace test CGI server with pytest-httpserver (#823) 2020-12-06 14:08:22 +01:00
Dexter Chua 25de5b6016
BLD Refactor emsdk/Makefile (#827)
1. Split long shell command into multiple commands
2. Make BINARYEN_VERSION a variable instead of hardcoding in Makefile
3. Set Makefile.envs and patches as dependencies
2020-12-06 11:36:37 +01:00
Dexter Chua 68d0d8229e
Fix node path (#826) 2020-12-06 11:34:07 +01:00
Roman Yurchak 55934b14e6
BLD/FIX Remove ASSERTIONS build option (#824) 2020-12-06 11:08:12 +01:00
Dexter Chua bd7d397a8c
BLD Pave way to compiling packages with system python (#820) 2020-12-05 19:42:41 +01:00
Dexter Chua 3a2719369e
PKG Downgrade parso to 0.7.1 (#822)
This is what jedi 0.17.2 wants
2020-12-05 13:09:46 +01:00
Dexter Chua a780abcae1
PKG Update jedi and parso to 0.17.2 and 0.8.0 resp (#807) 2020-12-03 19:33:13 +01:00
Dexter Chua d67648a6b8
BLD Update package build script's default ldflags (#817) 2020-12-03 14:27:40 +01:00
Dexter Chua a7b1901775
DOC Update changelogs to reflect emscripten 1.38.34 (#818) 2020-12-03 10:41:26 +01:00
Dexter Chua 0e36e71053
Remove external dependencies from file_packager.py (#809) 2020-12-02 14:42:03 +01:00
Dexter Chua 2c97465418
Update SIZEOF_OFF_T to 8 in numpy/config.h (#816)
It was changed from 4 to 8 in emscripten 1.38.31. Before the patch,
compiling numpy gives some warnings about redefining SIZEOF_OFF_T, but
as far as I can tell, it did not cause any real issues.
2020-12-02 14:32:52 +01:00
Roman Yurchak f7adad7eb3
Upgrade to emscripten 1.38.34 with fastcomp (#480)
Co-authored-by: Dexter Chua <dec41@srcf.net>
2020-11-30 18:54:35 +01:00