-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
As pyodide build-recipes is the main method that's used for building recipes (e.g. in https://pyodide.org/en/0.28.3/development/building-packages-using-recipe.html), would be nice if it would also have --install argument (that's very useful for debugging) and would propagate it to build-recipes-no-deps it's calling in code below:
pyodide-build/pyodide_build/recipe/graph_builder.py
Lines 167 to 192 in bdd0b14
| p = subprocess.run( | |
| [ | |
| *run_prefix, | |
| "pyodide", | |
| "build-recipes-no-deps", | |
| self.name, | |
| "--recipe-dir", | |
| str(self.pkgdir.parent), | |
| f"--cflags={build_args.cflags}", | |
| f"--cxxflags={build_args.cxxflags}", | |
| f"--ldflags={build_args.ldflags}", | |
| f"--target-install-dir={build_args.target_install_dir}", | |
| f"--host-install-dir={build_args.host_install_dir}", | |
| f"--build-dir={build_dir}", | |
| # Either this package has been updated and this doesn't | |
| # matter, or this package is dependent on a package that has | |
| # been updated and should be rebuilt even though its own | |
| # files haven't been updated. | |
| "--force-rebuild", | |
| # We already did the rust setup in buildall | |
| "--skip-rust-setup", | |
| ], | |
| check=False, | |
| stdout=subprocess.DEVNULL, | |
| stderr=subprocess.DEVNULL, | |
| ) |
As a temporary hack you can change default value for continue option in build-recipes-no-deps from False to True (see code below), then your pyodide build-recipes will kind of have --continue option by default.
Metadata
Metadata
Assignees
Labels
No labels