Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
pyodide
Commits
56e8a176
Commit
56e8a176
authored
Oct 13, 2018
by
Roman Yurchak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase FuncCastEmulation NUM_PARAMS further
parent
27319bc6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
80 deletions
+1
-80
emsdk/patches/num_params.patch
emsdk/patches/num_params.patch
+1
-1
packages/scipy/meta.yaml
packages/scipy/meta.yaml
+0
-1
packages/scipy/patches/disable_FuncCastEmulation_num_params.patch
.../scipy/patches/disable_FuncCastEmulation_num_params.patch
+0
-77
test/conftest.py
test/conftest.py
+0
-1
No files found.
emsdk/patches/num_params.patch
View file @
56e8a176
...
...
@@ -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) {
packages/scipy/meta.yaml
View file @
56e8a176
...
...
@@ -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
...
...
packages/scipy/patches/disable_FuncCastEmulation_num_params.patch
deleted
100644 → 0
View file @
27319bc6
commit dbfb06104aa7f3f36737f394b66a76a29018d5e7
Author: Roman Yurchak <rth.yurchak@pm.me>
Date: Fri Oct 12 10:36:48 2018 +0200
Disable F2C function that need larger FuncCastEmulation::NUM_PARAMS
scipy/interpolate/_fitpack seems to require NUM_PARAMS
43 then 45 then 47 (each requiring to rebuild emsdk), so disabling this
for now.
scipy/ord/_odrpack requires NUM_PARAMS 57
diff --git a/scipy/interpolate/setup.py b/scipy/interpolate/setup.py
index 2c8279403..9934376e8 100755
--- a/scipy/interpolate/setup.py
+++ b/scipy/interpolate/setup.py
@@ -22,18 +22,18 @@
def configuration(parent_package='',top_path=None):
sources=['_ppoly.c'],
**lapack_opt)
- config.add_extension('_fitpack',
- sources=['src/_fitpackmodule.c'],
- libraries=['fitpack'],
- depends=(['src/__fitpack.h','src/multipack.h']
- + fitpack_src)
- )
-
- config.add_extension('dfitpack',
- sources=['src/fitpack.pyf'],
- libraries=['fitpack'],
- depends=fitpack_src,
- )
+ #config.add_extension('_fitpack',
+ # sources=['src/_fitpackmodule.c'],
+ # libraries=['fitpack'],
+ # depends=(['src/__fitpack.h','src/multipack.h']
+ # + fitpack_src)
+ # )
+
+ #config.add_extension('dfitpack',
+ # sources=['src/fitpack.pyf'],
+ # libraries=['fitpack'],
+ # depends=fitpack_src,
+ # )
#config.add_extension('_interpolate',
# sources=['src/_interpolate.cpp'],
diff --git a/scipy/odr/setup.py b/scipy/odr/setup.py
index 9974dfac6..d7560896f 100644
--- a/scipy/odr/setup.py
+++ b/scipy/odr/setup.py
@@ -22,18 +22,18 @@
def configuration(parent_package='', top_path=None):
libodr_files.append('d_lpkbls.f')
odrpack_src = [join('odrpack', x) for x in libodr_files]
- config.add_library('odrpack', sources=odrpack_src)
+ #config.add_library('odrpack', sources=odrpack_src)
sources = ['__odrpack.c']
libraries = ['odrpack'] + blas_info.pop('libraries', [])
include_dirs = ['.'] + blas_info.pop('include_dirs', [])
- config.add_extension('__odrpack',
- sources=sources,
- libraries=libraries,
- include_dirs=include_dirs,
- depends=(['odrpack.h'] + odrpack_src),
- **blas_info
- )
+ #config.add_extension('__odrpack',
+ # sources=sources,
+ # libraries=libraries,
+ # include_dirs=include_dirs,
+ # depends=(['odrpack.h'] + odrpack_src),
+ # **blas_info
+ #)
config.add_data_dir('tests')
return config
test/conftest.py
View file @
56e8a176
...
...
@@ -17,7 +17,6 @@ TEST_PATH = pathlib.Path(__file__).parents[0].resolve()
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment