Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-84461: Add HOSTRUNNER for program to run Python executable #91931

Merged
merged 6 commits into from Apr 28, 2022

Conversation

Copy link
Contributor

@ethanhs ethanhs commented Apr 25, 2022

HOSTRUNNER is a program which can be used to run BUILDPYTHON for the host platform (for example, python.js requires node).

Also change depedencies from build_all to all so that targets which can't build everything (e.g. WASM) can still run buildbottest and pythoninfo.

cc @tiran

Automerge-Triggered-By: GH:tiran

Copy link
Member

@tiran tiran left a comment

  • Add [] around arguments.
  • Fix whitespace / tab
  • You need to AC_SUBST variables to make configure substitute the variable in templates.
  • Threaded builds need additional arguments to enable experimental threading and shared buffers
AS_VAR_IF([enable_wasm_pthreads], [yes], [
  HOSTRUNNER='node --experimental-wasm-threads --experimental-wasm-bulk-memory'
], [
  HOSTRUNNER='node'
])

configure.ac Outdated Show resolved Hide resolved
configure.ac Outdated Show resolved Hide resolved
configure.ac Outdated Show resolved Hide resolved
ethanhs and others added 3 commits Apr 27, 2022
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Christian Heimes <christian@python.org>
configure.ac Outdated Show resolved Hide resolved
ethanhs and others added 2 commits Apr 27, 2022
Co-authored-by: Christian Heimes <christian@python.org>
@tiran tiran added the 🤖 automerge label Apr 28, 2022
@miss-islington miss-islington merged commit d1de107 into python:main Apr 28, 2022
12 checks passed
@ethanhs ethanhs deleted the hostrunner branch Apr 28, 2022
gvanrossum pushed a commit to gvanrossum/cpython that referenced this issue May 1, 2022
…ythonGH-91931)

`HOSTRUNNER` is a program which can be used to run `BUILDPYTHON` for the host platform (for example, `python.js` requires `node`).

Also change depedencies from `build_all` to `all` so that targets which can't build everything (e.g. WASM) can still run `buildbottest` and `pythoninfo`.

cc @tiran
gvanrossum pushed a commit to gvanrossum/cpython that referenced this issue May 1, 2022
…ythonGH-91931)

`HOSTRUNNER` is a program which can be used to run `BUILDPYTHON` for the host platform (for example, `python.js` requires `node`).

Also change depedencies from `build_all` to `all` so that targets which can't build everything (e.g. WASM) can still run `buildbottest` and `pythoninfo`.

cc @tiran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 automerge skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants