You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cross builds: distinguish between installation prefix and host prefix in configure.ac? #124932
In Emscripten and wasi builds, and presumably for other cross builds, the build file system and the host file system look different. It's natural to want to install into cross-build/$TARGET/lib and then mount that as /lib in the host file system. wasi.py has to mess around with setting PYTHONPATH because prefix is set to a path from the build machine. I think it would simplify this if we distinguish between
prefix -- the path in the build file system where we want to install the files
host_prefix -- the path in the host file system where getpath.c will look for the files
And similarly for exec_prefix and host_exec_prefix.
Activity
pythongh-124932: Cross builds: Distinguish between build prefix and h…
brettcannon commentedon Oct 3, 2024
In regards to the
wasi.pyreference:cpython/Tools/wasm/wasi.py
Lines 222 to 228 in 1f9025a
pythongh-124932: Cross builds: Distinguish between build prefix and h…
brettcannon commentedon Oct 9, 2024
This has been deemed Emscripten-specific over in the PR.
pythongh-124932: Cross builds: Distinguish between build prefix and h…
pythongh-124932: Cross builds: Distinguish between build prefix and h…
pythongh-124932: Cross builds: Distinguish between build prefix and h…
gh-124932: Distinguish build prefix from host prefix in cross builds (#…
hoodmane commentedon Nov 11, 2024
Resolved by #124933
pythongh-124932: Distinguish build prefix from host prefix in cross b…
pythongh-124932: Distinguish build prefix from host prefix in cross b…