Skip to content

Commit

Permalink
[build] Handle riscv64 hosts in utils.py.
Browse files Browse the repository at this point in the history
Bug: #48545
Change-Id: I7439b644ab4ff2fcbc5e22553392b93ebcfc6435
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/340645
Reviewed-by: Alexander Aprelev <[email protected]>
Commit-Queue: Ryan Macnak <[email protected]>
  • Loading branch information
rmacnak-google authored and Commit Queue committed Dec 11, 2023
1 parent a6b6a61 commit e4849d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ def HostArchitectures():
return ['x86', 'ia32']
if m in ['x64', 'x86-64', 'x86_64', 'amd64', 'AMD64']:
return ['x64', 'x86', 'ia32']
if m in ['riscv64']:
return ['riscv64']
raise Exception('Failed to determine host architectures for %s %s',
platform.machine(), platform.system())

Expand Down

0 comments on commit e4849d8

Please sign in to comment.