-
Notifications
You must be signed in to change notification settings - Fork 121
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
Add support for s390x architecture. #1431
Conversation
Could this be added to our cross-tests? (After fixing |
It can be added, but I believe that someone from your team has to upload the cross-compiling toolchain for s390x, which is downloaded as part of the CI (see: tests/ci/run_cross_tests.sh#L34).
As mentioned in the original message, this test is always failing for me without any code changes in all the configurations I've tested (i.e. when running unmodified Anyway, it looks that the test was broken: #1433. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1431 +/- ##
==========================================
- Coverage 76.95% 76.94% -0.02%
==========================================
Files 425 425
Lines 71587 71587
==========================================
- Hits 55093 55080 -13
- Misses 16494 16507 +13 ☔ View full report in Codecov by Sentry. |
Sorry for the delay in reviewing this. I plan to build a toolchain to perform testing for this platform. I'll hopefully have an update on it soon. |
Signed-off-by: Piotr Sikora <[email protected]>
CI tests for the s390x passed: https://github.com/aws/aws-lc/actions/runs/8116237276/job/22185808912?pr=1431 |
Description of changes:
Add support for s390x architecture.
This is pretty trivial change (a few defines), since the big-endian support was previously added for PowerPC architectures.
Call-outs:
There is a false-positive error when compiling using
s390x-linux-gnu-gcc-11
with-O3
(i.e.Release
profile):but there are no issues when using
-O2
or when building withs390x-linux-gnu-gcc-12
.Testing:
All tests from
run_cross_tests.sh
, i.e.passed, with the exception of
BIOTest.InvokeConnectCallback
, which fails for me on all platforms.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
cc @andrewhop @justsmth