Do no build CLAPACK if PYODIDE_PACKAGES is defined

This commit is contained in:
Roman Yurchak 2020-05-09 12:39:05 +02:00
parent 1fcf5a88f8
commit f3f596f0c1
2 changed files with 11 additions and 1 deletions

View File

@ -242,7 +242,14 @@ $(PARSO_LIBS): $(CPYTHONLIB)
$(CLAPACK): $(CPYTHONLIB)
make -C CLAPACK
ifdef PYODIDE_PACKAGES
echo "Skipping BLAS/LAPACK build due to PYODIDE_PACKAGES being defined."
echo "Build it manually with make -C CLAPACK if needed."
touch $(CLAPACK)
else
make -C CLAPACK
endif
build/packages.json: $(CLAPACK) FORCE

View File

@ -21,3 +21,6 @@ exactly; in particular they are case sensitive.
To build a minimal version of pyodide, set `PYODIDE_PACKAGES="micropip"`. The
micropip and package is generally always included for any non empty value of
`PYODIDE_PACKAGES`.
If scipy is included in `PYODIDE_PACKAGES`, BLAS/LAPACK must be manually built
first with `make -c CLAPACK`.