summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-09-23 12:28:27 -0700
committerGitHub <noreply@github.com>2019-09-23 12:28:27 -0700
commite0bfb1c314a2c3c9ec1d345b7a9c80148901bc10 (patch)
tree2f3f23d21ef85d8ab63152a85fd55a9351c37ed9
parent31b132be0d9edf75a118efc00e06abf636fe5b15 (diff)
downloadbinaryen-e0bfb1c314a2c3c9ec1d345b7a9c80148901bc10.tar.gz
binaryen-e0bfb1c314a2c3c9ec1d345b7a9c80148901bc10.tar.bz2
binaryen-e0bfb1c314a2c3c9ec1d345b7a9c80148901bc10.zip
Revert part of #2281 to allow the possiblity of building under python2 (#2349)
Even though we do support python3 and if the python in your path happens to be python3 that will work just fine, we also want to continue to support those users who still only have python2 (i.e. mac users who are relying on the default system python). See https://github.com/emscripten-core/emsdk/issues/356
-rw-r--r--src/passes/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/CMakeLists.txt b/src/passes/CMakeLists.txt
index e63e1ece7..41a6a72a6 100644
--- a/src/passes/CMakeLists.txt
+++ b/src/passes/CMakeLists.txt
@@ -1,6 +1,6 @@
add_custom_command(
OUTPUT WasmIntrinsics.cpp
- COMMAND python3 ${PROJECT_SOURCE_DIR}/scripts/embedwast.py ${PROJECT_SOURCE_DIR}/src/passes/wasm-intrinsics.wast ${CMAKE_CURRENT_BINARY_DIR}/WasmIntrinsics.cpp
+ COMMAND python ${PROJECT_SOURCE_DIR}/scripts/embedwast.py ${PROJECT_SOURCE_DIR}/src/passes/wasm-intrinsics.wast ${CMAKE_CURRENT_BINARY_DIR}/WasmIntrinsics.cpp
DEPENDS ${PROJECT_SOURCE_DIR}/scripts/embedwast.py wasm-intrinsics.wast)
SET(passes_SOURCES