Skip to content
Snippets Groups Projects
Commit 07fb042d authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

fix check_arch_option

parent f08018ad
No related branches found
No related tags found
No related merge requests found
...@@ -553,6 +553,7 @@ def _check_arch_option(arch): ...@@ -553,6 +553,7 @@ def _check_arch_option(arch):
_windows_arch_option(arch) _windows_arch_option(arch)
elif platform_string() == 'linux': elif platform_string() == 'linux':
# On linux, we need to be running under docker with the right architecture. # On linux, we need to be running under docker with the right architecture.
runtime_arch = platform.architecture()[0]
if arch == 'default': if arch == 'default':
return return
elif runtime_arch == '64bit' and arch == 'x64': elif runtime_arch == '64bit' and arch == 'x64':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment