Skip to content

Commit fd21ae3

Browse files
committed
Set EMSDK_PYTHON directly
1 parent 757ad79 commit fd21ae3

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

bazel/emscripten_toolchain/env.bat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
set ROOT_DIR=%CD%
44
set EMSCRIPTEN=%ROOT_DIR%\%EM_BIN_PATH%\emscripten
55
set EM_CONFIG=%ROOT_DIR%\%EM_CONFIG_PATH%
6-
set EMSDK_PYTHON=%ROOT_DIR%\%EM_PYTHON_PATH%

bazel/emscripten_toolchain/env.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
export ROOT_DIR=${EXT_BUILD_ROOT:-$(pwd -P)}
44
export EMSCRIPTEN=$ROOT_DIR/$EM_BIN_PATH/emscripten
55
export EM_CONFIG=$ROOT_DIR/$EM_CONFIG_PATH
6-
export EMSDK_PYTHON=$ROOT_DIR/$EM_PYTHON_PATH

bazel/emscripten_toolchain/toolchain.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ def _impl(ctx):
10411041
value = ctx.file.em_config.path,
10421042
),
10431043
env_entry(
1044-
key = "EM_PYTHON_PATH",
1044+
key = "EMSDK_PYTHON",
10451045
value = ctx.file._python_interpreter.path,
10461046
),
10471047
],

0 commit comments

Comments
 (0)