Commit ba0e045b authored by Roman Yurchak's avatar Roman Yurchak

CLAPACK setup

parent ead14ef3
...@@ -25,7 +25,6 @@ $(SRC)/lapack_WA.bc: $(SRC)/Makefile ...@@ -25,7 +25,6 @@ $(SRC)/lapack_WA.bc: $(SRC)/Makefile
$(SRC)/Makefile: $(SRC)/Makefile:
wget -q -O clapack.tgz http://www.netlib.org/clapack/clapack.tgz wget -q -O clapack.tgz http://www.netlib.org/clapack/clapack.tgz
md5sum --quiet --check checksums || (rm -f clapack.tgz; false) md5sum --quiet --check checksums || (rm -f clapack.tgz; false)
tar xzf clapack.tgz tar xzf clapack.tgz
rm -rf $(SRC) rm -rf $(SRC)
mv CLAPACK-$(CLAPACK_VERSION) $(SRC) mv CLAPACK-$(CLAPACK_VERSION) $(SRC)
......
...@@ -64,11 +64,7 @@ all: build/pyodide.asm.js \ ...@@ -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 \ 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 \ src/pyimport.bc src/pyproxy.bc src/python2js.bc \
<<<<<<< HEAD
src/runpython.bc src/hiwire.bc src/runpython.bc src/hiwire.bc
=======
src/runpython.bc src/hiwire.bc $(CLAPACK)
>>>>>>> Move CLAPACK_WA to the root folder
[ -d build ] || mkdir build [ -d build ] || mkdir build
$(CXX) -s EXPORT_NAME="'pyodide'" -o build/pyodide.asm.html $(filter %.bc,$^) \ $(CXX) -s EXPORT_NAME="'pyodide'" -o build/pyodide.asm.html $(filter %.bc,$^) \
$(LDFLAGS) -s FORCE_FILESYSTEM=1 $(LDFLAGS) -s FORCE_FILESYSTEM=1
...@@ -214,14 +210,10 @@ $(LZ4LIB): ...@@ -214,14 +210,10 @@ $(LZ4LIB):
$(SIX_LIBS): $(CPYTHONLIB) $(SIX_LIBS): $(CPYTHONLIB)
make -C six make -C six
$(CLAPACK): $(CPYTHONLIB) $(CLAPACK): $(CPYTHONLIB)
# We build BLAS/LAPACK only for target. make -C CLAPACK
# 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/
$(CLAPACK): $(CPYTHONLIB) $(CLAPACK): $(CPYTHONLIB)
make -C CLAPACK make -C CLAPACK
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment