-
Notifications
You must be signed in to change notification settings - Fork 268
fix(makefile): fix the arch for the SDS build being hardcoded #7199
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
base: develop
Are you sure you want to change the base?
Conversation
Jenkins BuildsClick to see older builds (10)
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #7199 +/- ##
===========================================
- Coverage 60.49% 60.41% -0.08%
===========================================
Files 815 815
Lines 113163 113163
===========================================
- Hits 68454 68371 -83
- Misses 37661 37737 +76
- Partials 7048 7055 +7
Flags with carried forward coverage won't be shown. Click here to find out more. |
Ivansete-status
left a comment
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 for it! Just adding some nitpicks that I hope you find useful
Makefile
Outdated
| @echo "Building nim-sds for Android" $(LIBSDS) | ||
| $(MAKE) -C $(NIM_SDS_SOURCE_DIR) libsds-android ARCH=arm64 ANDROID_NDK_ROOT=$(ANDROID_NDK_ROOT) USE_SYSTEM_NIM=1 SHELL=/bin/bash | ||
| @if [ "$(ARCH)" != "arm64" ]; then SDSARCH=amd64; else SDSARCH=$(ARCH); fi; \ | ||
| $(MAKE) -C $(NIM_SDS_SOURCE_DIR) libsds-android ARCH=$$SDSARCH ANDROID_NDK_ROOT=$(ANDROID_NDK_ROOT) USE_SYSTEM_NIM=1 SHELL=/bin/bash |
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.
Maybe? To keep consistency with others
| $(MAKE) -C $(NIM_SDS_SOURCE_DIR) libsds-android ARCH=$$SDSARCH ANDROID_NDK_ROOT=$(ANDROID_NDK_ROOT) USE_SYSTEM_NIM=1 SHELL=/bin/bash | |
| $(MAKE) -C $(NIM_SDS_SOURCE_DIR) libsds-android ARCH=$(SDSARCH) ANDROID_NDK_ROOT=$(ANDROID_NDK_ROOT) USE_SYSTEM_NIM=1 SHELL=/bin/bash |
Makefile
Outdated
| build-libsds-android: clone-nim-sds | ||
| @echo "Building nim-sds for Android" $(LIBSDS) | ||
| $(MAKE) -C $(NIM_SDS_SOURCE_DIR) libsds-android ARCH=arm64 ANDROID_NDK_ROOT=$(ANDROID_NDK_ROOT) USE_SYSTEM_NIM=1 SHELL=/bin/bash | ||
| @if [ "$(ARCH)" != "arm64" ]; then SDSARCH=amd64; else SDSARCH=$(ARCH); fi; \ |
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.
With that approach it seems we are ignoring the x86 option. See: https://github.com/logos-messaging/nim-sds/blob/0b4d3cc03ff44e7a6a16e32fe1d68ded44743e13/Makefile#L158C1-L164C28
6656819 to
28aa992
Compare
28aa992 to
a8d10ea
Compare
No description provided.