Skip to content

Commit

Permalink
Increase FuncCastEmulation NUM_PARAMS further
Browse files Browse the repository at this point in the history
  • Loading branch information
rth committed Nov 15, 2018
1 parent 27319bc commit 56e8a17
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 80 deletions.
2 changes: 1 addition & 1 deletion emsdk/patches/num_params.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index 013e9403..d95fc282 100644
// to match when dynamically linking, and also dynamic linking is why we
// can't just detect this automatically in the module we see.)
-static const int NUM_PARAMS = 15;
+static const int NUM_PARAMS = 45;
+static const int NUM_PARAMS = 61; // needed by scipy.odr._odrpack

// Converts a value to the ABI type of i64.
static Expression* toABI(Expression* value, Module* module) {
1 change: 0 additions & 1 deletion packages/scipy/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ source:
- patches/force_malloc.patch
- patches/disable_scipy_stats_mvn.patch
- patches/skip-fortran-fails-to-link.patch
- patches/disable_FuncCastEmulation_num_params.patch

build:
cflags: -I../../CLAPACK-WA/INCLUDE -Wno-implicit-function-declaration
Expand Down
77 changes: 0 additions & 77 deletions packages/scipy/patches/disable_FuncCastEmulation_num_params.patch

This file was deleted.

1 change: 0 additions & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
BUILD_PATH = TEST_PATH / '..' / 'build'

sys.path.append(str(TEST_PATH / '..'))
print(sys.path)

from pyodide_build._fixes import _selenium_is_connectable # noqa: E402
import selenium.webdriver.common.utils # noqa: E402
Expand Down

0 comments on commit 56e8a17

Please sign in to comment.