Commit Graph

1388 Commits

Author SHA1 Message Date
Hood Chatham dfc509f1f1
Added fatal error messages to main (#929) 2020-12-23 17:09:18 +01:00
Dexter Chua 8de2ed1202
Build C libraries via buildall.py (#927)
This addresses part of #713, by listing and building C libraries as
dependencies. This means we automatically build CLAPACK when needed, and
`lxml`'s C dependencies are not built if lxml is not. In particular,
building "core" should now be faster.

The building itself is still performed by Makefile.
2020-12-23 14:24:32 +01:00
Hood Chatham 12a86812d9
Added "apply-lints" recipe to Makefile that modifies files in place to apply lints. (#925) 2020-12-23 11:05:58 +01:00
Hood Chatham 41592637e6
MAINT Internal improvements to hiwire (#920) 2020-12-23 00:49:53 +01:00
Dexter Chua 2669317112
STY Fix pyodide.js formatting (#914)
The missing semicolon confuses clang-format
2020-12-22 14:33:23 +01:00
Roman Yurchak ce96a51d38
Create a pyodide-py package (#909) 2020-12-22 08:47:22 +01:00
Dexter Chua 3f6a8e2fad
TST Fix dyncall test name (#913) 2020-12-22 08:46:09 +01:00
Dexter Chua 108c613a28
Add tests for dyncall_so patch (#908) 2020-12-22 11:25:07 +08:00
Dexter Chua 3f9062adf7
Update binaryen version_86 (#910) 2020-12-22 11:24:51 +08:00
Roman Yurchak d341645015
BLD Enable ccache for x86_64 (#882) 2020-12-21 11:27:33 +01:00
Hood Chatham de700f0424
DOC Minor updates to docs configuration (#873) 2020-12-21 10:52:33 +01:00
Hood Chatham 9d978f0e54
DOC Remove incorrect getattr limitation from docs (#899) 2020-12-21 10:08:09 +01:00
Dexter Chua 9472852450
Update to emscripten 1.38.44 (#906) 2020-12-21 13:00:05 +08:00
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