mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-21 15:38:15 +08:00
wasm: set EMSDK_PYTHON to Python installed in provisioning
Emscripten 4.0.7 requires Python +3.8, OpenSUSE does have Python 3.11 but its path is only set to PYTHON3_EXECUTABLE envvar defined in 08-pythondev.sh. OpenSUSE 15.6 comes with Python 3.6.15 which the previous emscripten 3.1.70 used. Pick-to: 6.10 Change-Id: Ied63ace32b7fb252d124ad447bc56dba353ff403 Reviewed-by: Lorn Potter <lorn.potter@qt.io>
This commit is contained in:
@@ -53,5 +53,6 @@ SetEnvVar "PATH" "\"\$PATH:${emscriptenPath}\""
|
|||||||
SetEnvVar "EMSCRIPTEN" "${emscriptenPath}"
|
SetEnvVar "EMSCRIPTEN" "${emscriptenPath}"
|
||||||
SetEnvVar "EMSDK" "${emsdkPath}"
|
SetEnvVar "EMSDK" "${emsdkPath}"
|
||||||
SetEnvVar "EMSDK_NODE" "${emsdkPath}${pathNodeExecutable}"
|
SetEnvVar "EMSDK_NODE" "${emsdkPath}${pathNodeExecutable}"
|
||||||
|
SetEnvVar "EMSDK_PYTHON" "$PYTHON3_EXECUTABLE"
|
||||||
|
|
||||||
echo "Emsdk = $version" >> ~/versions.txt
|
echo "Emsdk = $version" >> ~/versions.txt
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# provides: python development libraries
|
# provides: python development libraries
|
||||||
# version: provided by default Linux distribution repository
|
# version: provided by default Linux distribution repository
|
||||||
# needed to build pyside
|
# needed to build pyside and emsdk for WebAssembly
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user