Skip to content

Commit

Permalink
Update mavsdk_server suffix following changes in MAVSDK repo
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVautherin committed Jan 4, 2021
1 parent 52f94c2 commit 0220780
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ def platform_suffix(self):
"""
if sys.platform.startswith('linux') and 'MAVSDK_SERVER_ARCH' in os.environ:
if os.environ['MAVSDK_SERVER_ARCH'] == "armv6l":
return 'musl_armv6'
return 'linux-armv6-musl'
elif os.environ['MAVSDK_SERVER_ARCH'] == "armv7l":
return 'musl_armv7'
return 'linux-armv7l-musl'
elif os.environ['MAVSDK_SERVER_ARCH'] == "aarch64":
return 'musl_aarch64'
return 'linux-arm64-musl'
else:
raise NotImplementedError(
f"Error: unknown MAVSDK_SERVER_ARCH: {os.environ['MAVSDK_SERVER_ARCH']}")
Expand Down

0 comments on commit 0220780

Please sign in to comment.