-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 binaries for Linux on IBM Z / s390x architecture #1982
Conversation
Signed-off-by: Prasanna Kelkar <Prasanna.Kelkar@ibm.com>
Please, see #1973. There are two main problems:
|
Codecov Report
@@ Coverage Diff @@
## master #1982 +/- ##
==========================================
+ Coverage 96.99% 97.38% +0.38%
==========================================
Files 203 206 +3
Lines 10064 10136 +72
==========================================
+ Hits 9762 9871 +109
+ Misses 264 222 -42
- Partials 38 43 +5
Continue to review full report at Codecov.
|
Signed-off-by: Prasanna Kelkar <Prasanna.Kelkar@ibm.com>
|
We're currently not running any tests on Windows or MacOS platforms, we only build the binaries for them. Could we do the same for this arch? This would have minimal impact on the CI time. |
Yes. It will be great if we can have binaries released for s390x architecture which could be downloaded directly. I believe changes in Makefile to add target for s390x in
|
@yurishkuro Could you please guide me with the changes needed to release binaries for s390x ? |
Follow the path of |
@yurishkuro While i was adding linux s390x support i came across the names of the binaries used. for eg. |
Could we manage that at the directory name level, and keep the file names as is? We may also consider not using OS in the binary name, only in the directory. |
Minikube adds both to the binaries:
In our case, it would probably be too noisy, so, the idea of grouping them by OS makes sense. |
I have currently added following code to handle this scenario
This will only change the name of the binary of s390x and rest will remain as it is. |
sgtm |
Signed-off-by: Prasanna Kelkar <Prasanna.Kelkar@ibm.com>
@yurishkuro I have updated the PR to cross compile and release the binaries. Please review the code and let me know if anything needs to be changed. |
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.
Looks reasonable, thanks.
Signed-off-by: Prasanna Kelkar Prasanna.Kelkar@ibm.com
Which problem is this PR solving?
Short description of the changes
RACE
flag as it is not supported on s390x architecture.plugin/storage/badger/stats_linux.go
file to resolvemismatched types int64 and uint32
issue on s390x platform.