From 90b4a16f050868b74309b8d5fb5e4573c596f953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Barto=C5=88?= Date: Thu, 16 Feb 2023 18:49:40 +0100 Subject: [PATCH] Remove unused build_target_platform parameter from make_build (#1187) --- emsdk.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/emsdk.py b/emsdk.py index ed930a5..8ae6b07 100644 --- a/emsdk.py +++ b/emsdk.py @@ -905,8 +905,8 @@ def build_env(generator): return build_env -def make_build(build_root, build_type, build_target_platform='x64'): - debug_print('make_build(build_root=' + build_root + ', build_type=' + build_type + ', build_target_platform=' + build_target_platform + ')') +def make_build(build_root, build_type): + debug_print('make_build(build_root=' + build_root + ', build_type=' + build_type + ')') if CPU_CORES > 1: print('Performing a parallel build with ' + str(CPU_CORES) + ' cores.') else: @@ -1111,7 +1111,7 @@ def build_llvm(tool): return False # Make - success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32') + success = make_build(build_root, build_type) return success @@ -1137,7 +1137,7 @@ def build_ninja(tool): return False # Make - success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32') + success = make_build(build_root, build_type) if success: bin_dir = os.path.join(root, 'bin') @@ -1177,7 +1177,7 @@ def build_ccache(tool): return False # Make - success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32') + success = make_build(build_root, build_type) if success: bin_dir = os.path.join(root, 'bin') @@ -1337,7 +1337,7 @@ def emscripten_post_install(tool): return False # Make - success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32') + success = make_build(build_root, build_type) if not success: return False @@ -1387,7 +1387,7 @@ def build_binaryen_tool(tool): return False # Make - success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32') + success = make_build(build_root, build_type) # Deploy scripts needed from source repository to build directory remove_tree(os.path.join(build_root, 'scripts'))