-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build SDK for the local hardware #4021
Conversation
It's likely that you want to build the SDK to run on the emulator on your machine, so let's default to that, rather than aarch64.
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4021 +/- ##
========================================
Coverage 83.01% 83.01%
========================================
Files 1845 1845
Lines 47699 47699
Branches 5632 5632
========================================
Hits 39595 39595
Misses 6108 6108
Partials 1996 1996 ☔ View full report in Codecov by Sentry. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@@ -59,6 +59,13 @@ buildApp=${buildApp:-no} | |||
|
|||
cd "${elementPwd}" | |||
|
|||
default_arch="$(uname -m)-linux-android" | |||
# On ARM MacOS, `uname -m` returns arm64, but the toolchain is called aarch64 | |||
default_arch="${default_arch/arm64/aarch64}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL about this replacement facilities.
It's likely that you want to build the SDK to run on the emulator on your
machine, so let's default to that, rather than aarch64.
Signed-off-by: Richard van der Hoff <[email protected]>
Checklist