提交 7eeba4d4 编写于 作者: A Alexander Alekhin

js(build): reuse Python executable used to run main script

- don't switch between Python versions in the middle of the build
上级 68fb8dd8
......@@ -77,7 +77,9 @@ class Builder:
rm_one(d)
def get_cmake_cmd(self):
cmd = ["cmake",
cmd = [
"cmake",
"-DPYTHON_DEFAULT_EXECUTABLE=%s" % sys.executable,
"-DENABLE_PIC=FALSE", # To workaround emscripten upstream backend issue https://github.com/emscripten-core/emscripten/issues/8761
"-DCMAKE_BUILD_TYPE=Release",
"-DCMAKE_TOOLCHAIN_FILE='%s'" % self.get_toolchain_file(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册