Skip to content

Commit

Permalink
scripts: add arm64[ec] to update_deps.py
Browse files Browse the repository at this point in the history
  • Loading branch information
johnzupin committed Apr 8, 2024
1 parent f60412f commit 1a1df3c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/update_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,12 @@ def CMakeConfig(self, repos):
if self._args.arch.lower() == '64' or self._args.arch == 'x64' or self._args.arch == 'win64':
cmake_cmd.append('-A')
cmake_cmd.append('x64')
elif self._args.arch.lower() == 'arm64':
cmake_cmd.append('-A')
cmake_cmd.append('arm64')
elif self._args.arch.lower() == 'arm64ec':
cmake_cmd.append('-A')
cmake_cmd.append('arm64ec')
else:
cmake_cmd.append('-A')
cmake_cmd.append('Win32')
Expand Down Expand Up @@ -683,7 +689,7 @@ def main():
parser.add_argument(
'--arch',
dest='arch',
choices=['32', '64', 'x86', 'x64', 'win32', 'win64'],
choices=['32', '64', 'x86', 'x64', 'win32', 'win64', 'arm64', 'arm64ec'],
type=str.lower,
help="Set build files architecture (Visual Studio Generator Only)",
default='64')
Expand Down

0 comments on commit 1a1df3c

Please sign in to comment.