-
Notifications
You must be signed in to change notification settings - Fork 265
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 Builds
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #7199 +/- ##
============================================
+ Coverage 34.82% 59.62% +24.79%
============================================
Files 807 822 +15
Lines 111424 113515 +2091
============================================
+ Hits 38808 67685 +28877
+ Misses 67712 38940 -28772
- Partials 4904 6890 +1986
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
| @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 |
| 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
No description provided.