mirror of https://github.com/pyodide/pyodide.git
Fix Makefile syntax
This commit is contained in:
parent
f3f596f0c1
commit
d02a96ece4
15
Makefile
15
Makefile
|
@ -242,13 +242,14 @@ $(PARSO_LIBS): $(CPYTHONLIB)
|
||||||
|
|
||||||
|
|
||||||
$(CLAPACK): $(CPYTHONLIB)
|
$(CLAPACK): $(CPYTHONLIB)
|
||||||
ifdef PYODIDE_PACKAGES
|
ifdef PYODIDE_PACKAGES
|
||||||
echo "Skipping BLAS/LAPACK build due to PYODIDE_PACKAGES being defined."
|
echo "Skipping BLAS/LAPACK build due to PYODIDE_PACKAGES being defined."
|
||||||
echo "Build it manually with make -C CLAPACK if needed."
|
echo "Build it manually with make -C CLAPACK if needed."
|
||||||
touch $(CLAPACK)
|
mkdir -p CLAPACK/CLAPACK-WA/
|
||||||
else
|
touch $(CLAPACK)
|
||||||
make -C CLAPACK
|
else
|
||||||
endif
|
make -C CLAPACK
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -49,9 +49,7 @@ def test_import(name, selenium_standalone):
|
||||||
'{} fails to load and is not supported on {}.'
|
'{} fails to load and is not supported on {}.'
|
||||||
.format(name, selenium_standalone.browser))
|
.format(name, selenium_standalone.browser))
|
||||||
|
|
||||||
built_packages = _parse_package_subset(
|
built_packages = _parse_package_subset(os.environ.get('PYODIDE_PACKAGES'))
|
||||||
os.environ.get('PYODIDE_PACKAGES', "")
|
|
||||||
)
|
|
||||||
# only a subset of packages were built
|
# only a subset of packages were built
|
||||||
if built_packages is not None and name not in built_packages:
|
if built_packages is not None and name not in built_packages:
|
||||||
pytest.skip(f'{name} was skipped due to PYODIDE_PACKAGES')
|
pytest.skip(f'{name} was skipped due to PYODIDE_PACKAGES')
|
||||||
|
|
Loading…
Reference in New Issue