Commit Graph

62 Commits

Author SHA1 Message Date
Hood Chatham 8d30ebdf13
Update emscripten patches again (#2684)
This drops the Rust patch and "Throw away errors in minify wasm_js" which
I suspect was fixed by an emscripten update (I'm not sure how long ago). It 
replaces the two remaining emscripten patches with new versions that match
the versions I am upstreaming.
2022-06-14 17:01:09 -07:00
Hood Chatham 9c305efc46
Fix cryptography build after emscripten update (#2683) 2022-06-14 14:54:07 +02:00
Hood Chatham c834085995
Use emscripten 3.1.13 (#2679) 2022-06-10 22:26:10 +02:00
Hood Chatham 52f27f06ad
Update to emscripten 3.1.6 (#2672) 2022-06-10 08:13:36 -07:00
Hood Chatham dbbbbb67b2
Cryptography v36.0.2 w/ Rust (#2378) 2022-06-09 10:57:34 -07:00
Hood Chatham 95b1194945
Enable Wasm BigInt (#2643)
This enables WASM_BIGINT while maintaining (hypothetical) Safari 14 support
by shimming BigInt64Array and BigUint64Array if they are missing. I think the
last time we tried to enable WASM_BIGINT was before #2019 so our chances
are significantly better this time.

This will fix dynamic linking bugs and yields a minor reduction in code size.
2022-06-02 10:09:54 -07:00
Hood Chatham 5595eb1305
Fix uname to report emscripten version accurately (#2608)
This is needed for the normal Python packaging system to accurately determine the platform tag for wheels for #2591.
This has been fixed upstream: https://github.com/emscripten-core/emscripten/pull/17026
2022-05-24 15:25:25 -07:00
Hood Chatham 694c47f151
Update emscripten to 2.0.27 (#2295) 2022-03-23 23:31:13 -07:00
Hood Chatham 5897646e04
MAINT Update emscripten to 2.0.24 (#2035) 2022-03-23 23:27:46 -07:00
Hood Chatham 0f2ce88edb
Rework core tests (#2265)
The goal of this commit is to add the capability of skipping specific tests by
glob pattern. Many core test sets have just one test that uses subprocess or
threads. Others have a few tests that are failing due to upstream problems in
emscripten. I went through and switched to skipping specific tests in as many
cases as I could. In modules where most or all tests use threading or
subprocess, I gave up and put a comment saying something like 35/50 tests fork
and I didn't want to bother to salvage the remaining ones.

In order to accommodate using patterns to skip specific tests (and also extra
comments) I switched the format of python_tests to a yaml file. This gives us
significantly more flexibility in the structure of the file and allows us to use
ruamel.yaml to update it. We gain a lot flexibility while reducing the length of
make_test_lists.py modestly from 108 to 78 loc.

In the future, hopefully we should be able to make fixes by deleting one skip
pattern and looking into why that particular test fails.
2022-03-22 13:41:43 -07:00
Hood Chatham 0e1e2ac01c
Python 3.10 (#2225) 2022-03-17 15:48:56 -07:00
Hood Chatham 8c5627fe4c
MAINT Fix emscripten patch paths (#2276)
Having to add `emsdk/upstream/emscripten` to all the emscripten patches is a
nuisance. If at some point we want to patch a file in a different folder, we can
separate the patches into multiple folders. In particular this should make it
easy to migrate patches using `git am`, `git rebase`, and `git format-patch`.
2022-03-15 13:52:21 -07:00
Hood Chatham 30ea13fbbf
Support for C++ exceptions in packages (#2178) 2022-02-19 08:31:19 +01:00
Hood Chatham 19261f394c
Remove function pointer cast emulation (#2019) 2021-12-09 10:31:21 -08:00
Hood Chatham 8dd07060a2
Ensure that dup'd file descriptors share position and flags (#1825) 2021-09-10 10:15:21 +02:00
Hood Chatham feeadd5fff
FIX Patch emscripten to fix problems with dup (#1823) 2021-09-09 11:53:47 -07:00
Roman Yurchak e97d3bb2cf
Minimal Node.js support (#1691) 2021-07-09 22:26:58 +02:00
Hood Chatham 653891b045
ENH Add Ctypes support (#1656) 2021-06-26 10:34:31 +02:00
Roman Yurchak 39669630c2
MAINT/CI Fix libjpeg URL in emscripten (#1458) 2021-04-13 11:37:12 +02:00
Dexter Chua 958724101a
Update to emscripten 2.0.15 (#1312) 2021-03-10 09:13:53 +01:00
Dexter Chua df3861e469
Update to emscripten 2.0.14 (#1256) 2021-02-16 11:25:53 +08:00
Dexter Chua 4788dd750b
Change error code on waitpid to ENOSYS (#1240) 2021-02-14 09:56:39 +01:00
Hood Chatham 6e3f5747ec
Remove debug statements from fix_emulate_pointers (#1212)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Dexter Chua <dalcde@users.noreply.github.com>
2021-02-08 09:49:44 +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
Dexter Chua 27e2800120
Use upstream file packager instead of fork (#991) 2021-01-01 08:48:28 +01:00
Nicolas Ollinger 04ca90747f
modifiy MEMFS timestamp handling to support better caching (#893) 2020-12-24 09:34:02 +01:00
Dexter Chua 108c613a28
Add tests for dyncall_so patch (#908) 2020-12-22 11:25:07 +08: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
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 34026265fc
Remove lz4_c patch (#851) 2020-12-13 12:41:22 +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
Roman Yurchak ec249dc282
BLD Fix emcc warning on Python3.8 (#720) 2020-07-11 13:23:45 +02:00
Roman Yurchak 4ee8dedeed
Update to emscripten 1.38.31 (#674)
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
2020-05-28 18:13:51 +02:00
Adam Seering 6a02cabaad Update to use sdk-fastcomp-tag-<version> for emscripten (#589)
* Update to use sdk-fastcomp-tag-<version> for emscripten, as sdk-tag-<version> is no longer available upstream.
* Update code to use new path
* Replace Circle-CI CPU_CORES hack with environment variables (now supported upstream)

Co-authored-by: AndyLockhart <AndyLockhart@users.noreply.github.com>
2019-12-31 12:09:39 -05:00
Michael Droettboom 047b414f3d
Upgrade to emscripten 1.38.30 (#374) 2019-04-04 07:57:47 -04:00
Michael Droettboom 939ba63545 Update dynCall_so.patch 2019-01-16 16:57:46 -05:00
Michael Droettboom 9aa68bbcf4 Update missing patch 2019-01-10 08:55:05 -05:00
Michael Droettboom 4b3bfe53ad Upgrade emscripten to 1.38.22 2019-01-10 07:40:01 -05:00
Michael Droettboom fe16f98a70 Fix #283: Handle function pointers in dylib with signatures not in main 2018-12-20 13:07:54 -05:00
Roman Yurchak 56e8a1767a Increase FuncCastEmulation NUM_PARAMS further 2018-11-15 13:22:36 +01:00
Roman Yurchak 27319bc675 Fix build in Docker 2018-11-15 13:22:36 +01:00
Michael Droettboom b071d37e1a Initial steps toward Scipy support 2018-11-15 13:22:36 +01:00
Michael Droettboom 210bc3c585 Fix patch 2018-10-02 13:23:26 -04:00
Michael Droettboom 58048cff2c Upgrade to emscripten 1.38.12 2018-10-01 18:56:57 -04:00
Michael Droettboom ec7912005a Fix LZ4 decoding bug
This was introduced in #170, but wasn't caught since emsdk didn't get rebuilt
2018-09-21 14:53:13 -04:00
Michael Droettboom 4adce231c6 Remove redundant code 2018-09-20 08:29:44 -04:00
Michael Droettboom 362b736c0a Simplify library_lz4.js 2018-09-20 08:25:44 -04:00
Michael Droettboom 836d981aa3 Don't overallocate 2018-09-19 16:44:54 -04:00