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
ba0e045b
Commit
ba0e045b
authored
Oct 31, 2018
by
Roman Yurchak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CLAPACK setup
parent
ead14ef3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
12 deletions
+3
-12
CLAPACK/Makefile
CLAPACK/Makefile
+0
-1
Makefile
Makefile
+3
-11
No files found.
CLAPACK/Makefile
View file @
ba0e045b
...
...
@@ -25,7 +25,6 @@ $(SRC)/lapack_WA.bc: $(SRC)/Makefile
$(SRC)/Makefile
:
wget
-q
-O
clapack.tgz http://www.netlib.org/clapack/clapack.tgz
md5sum
--quiet
--check
checksums
||
(
rm
-f
clapack.tgz
;
false
)
tar
xzf clapack.tgz
rm
-rf
$(SRC)
mv
CLAPACK-
$(CLAPACK_VERSION)
$(SRC)
...
...
Makefile
View file @
ba0e045b
...
...
@@ -64,11 +64,7 @@ all: build/pyodide.asm.js \
build/pyodide.asm.js
:
src/main.bc src/jsimport.bc src/jsproxy.bc src/js2python.bc
\
src/pyimport.bc src/pyproxy.bc src/python2js.bc
\
<<<<<<< HEAD
src/runpython.bc src/hiwire.bc
=======
src/runpython.bc
src/hiwire.bc
$(CLAPACK)
>>>>>>>
Move
CLAPACK_WA
to
the
root
folder
[
-d
build
]
||
mkdir
build
$(CXX)
-s
EXPORT_NAME
=
"'pyodide'"
-o
build/pyodide.asm.html
$(
filter
%.bc,
$^
)
\
$(LDFLAGS)
-s
FORCE_FILESYSTEM
=
1
...
...
@@ -214,14 +210,10 @@ $(LZ4LIB):
$(SIX_LIBS)
:
$(CPYTHONLIB)
make
-C
six
$(CLAPACK)
:
$(CPYTHONLIB)
# We build BLAS/LAPACK only for target.
# On host we include -LCLAPACK-WA path which has no effect on host.
# On target it gets rewritten by pywasmcross to the full patch of
# blas_WA.bc, lapack_WA.bc which are linked statically in scipy
# in each module that needs them.
make
-C
CLAPACK-WA/F2CLIBS/libf2c arith.h
emmake make
-C
CLAPACK-WA/
make
-C
CLAPACK
$(CLAPACK)
:
$(CPYTHONLIB)
make
-C
CLAPACK
...
...
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