Remove unused build_target_platform parameter from make_build (#1187)

This commit is contained in:
Radek Bartoň
2023-02-16 18:49:40 +01:00
committed by GitHub
parent 7bcf1449c0
commit 90b4a16f05

View File

@@ -905,8 +905,8 @@ def build_env(generator):
return build_env return build_env
def make_build(build_root, build_type, build_target_platform='x64'): def make_build(build_root, build_type):
debug_print('make_build(build_root=' + build_root + ', build_type=' + build_type + ', build_target_platform=' + build_target_platform + ')') debug_print('make_build(build_root=' + build_root + ', build_type=' + build_type + ')')
if CPU_CORES > 1: if CPU_CORES > 1:
print('Performing a parallel build with ' + str(CPU_CORES) + ' cores.') print('Performing a parallel build with ' + str(CPU_CORES) + ' cores.')
else: else:
@@ -1111,7 +1111,7 @@ def build_llvm(tool):
return False return False
# Make # Make
success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32') success = make_build(build_root, build_type)
return success return success
@@ -1137,7 +1137,7 @@ def build_ninja(tool):
return False return False
# Make # Make
success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32') success = make_build(build_root, build_type)
if success: if success:
bin_dir = os.path.join(root, 'bin') bin_dir = os.path.join(root, 'bin')
@@ -1177,7 +1177,7 @@ def build_ccache(tool):
return False return False
# Make # Make
success = make_build(build_root, build_type, 'x64' if tool.bitness == 64 else 'Win32') success = make_build(build_root, build_type)
if success: if success:
bin_dir = os.path.join(root, 'bin') bin_dir = os.path.join(root, 'bin')
@@ -1337,7 +1337,7 @@ def emscripten_post_install(tool):
return False return False
# Make # 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: if not success:
return False return False
@@ -1387,7 +1387,7 @@ def build_binaryen_tool(tool):
return False return False
# Make # 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 # Deploy scripts needed from source repository to build directory
remove_tree(os.path.join(build_root, 'scripts')) remove_tree(os.path.join(build_root, 'scripts'))