-
Notifications
You must be signed in to change notification settings - Fork 38.7k
ci: Add big endian platform - s390x #17591
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
Conversation
|
Concept ACK Hope this works! |
|
autotools is doing it's job good :) https://travis-ci.org/bitcoin/bitcoin/jobs/616670043#L2809 |
maflcko
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.
Didn't know that s390x is be
Thanks. Concept ACK
| export GOAL="install" | ||
| export BITCOIN_CONFIG="--enable-reduce-exports --with-incompatible-bdb" | ||
|
|
||
| lscpu |
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.
Could add this to the script where we print free?
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.
Now that I see that it's already printing that it's bigendian as part of the configure I don't mind removing this https://travis-ci.org/bitcoin/bitcoin/jobs/616670043#L2148
|
|
||
| export LC_ALL=C.UTF-8 | ||
|
|
||
| export HOST=s390x-unknown-linux-gnu |
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.
| export HOST=s390x-unknown-linux-gnu | |
| export HOST=s390x-unknown-linux-gnu | |
| # The host arch is unknown, so we run the tests through qemu. | |
| # If the host is arm and wants to run the tests natively, it can set QEMU_USER_CMD to the empty string. | |
| export QEMU_USER_CMD="${QEMU_USER_CMD:"qemu-s390x"}" |
And then add in the travis.yml:
QEMU_USER_CMD="" # Can run the tests natively without qemu
(just like we do for arm)
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.
So should I also add the QEMU packages that we have in the ARM script?
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.
Ah good catch, yes.
| export LC_ALL=C.UTF-8 | ||
|
|
||
| export HOST=s390x-unknown-linux-gnu | ||
| export DOCKER_NAME_TAG=s390x/ubuntu:18.04 |
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.
| export DOCKER_NAME_TAG=s390x/ubuntu:18.04 |
Is this needed?
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.
I'll check, in the PowerPC one Docker failed to download the right image for the platform (and instead downloaded amd64)
| export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev" | ||
| export NO_DEPENDS=1 | ||
| export RUN_UNIT_TESTS=true | ||
| export RUN_FUNCTIONAL_TESTS=false |
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.
Why?
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.
They were timing out in PowerPC, but I didn't try them here, though because this is BE we might want to extend the timeout to make it work(because this is way more interesting then PowerPC)
|
ACK da1f153 |
|
Not sure what's up with appveyor though |
|
Just ignore that |
|
yes AppVeyor issue is being fixed in #17592 and unrelated |
jonatack
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.
Concept ACK -- very nice.
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Concept ACK |
| QEMU_USER_CMD="" # Can run the tests natively without qemu | ||
| - stage: test | ||
| name: 'S390x [GOAL: install] [unit tests, functional tests]' |
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.
| name: 'S390x [GOAL: install] [unit tests, functional tests]' | |
| name: 'S390x [GOAL: install] [unit tests, no functional tests]' |
|
Is there a chance of including functional tests, or is it just too slow? |
da1f153 Add s390x tests to travis (Elichai Turkel) 2fa65e0 Add ci script to install on s390x (Elichai Turkel) Pull request description: Discovered this as part of #17402 and a conversation with gmaxwell. You can see here that the platform is indeed BE: https://travis-ci.org/elichai/bitcoin/jobs/616656410#L36 This closes #6466 ACKs for top commit: MarcoFalke: ACK da1f153 Tree-SHA512: e7e94e54e220257d91b24fddc79eab2bcaaadf0b2d1e7e6872d9757808ab2541728f00b1f3ab7e343305c0e7d91bb48a17a3f9621f6fff6c9fe6cde6682de408
da1f153 Add s390x tests to travis (Elichai Turkel) 2fa65e0 Add ci script to install on s390x (Elichai Turkel) Pull request description: Discovered this as part of bitcoin#17402 and a conversation with gmaxwell. You can see here that the platform is indeed BE: https://travis-ci.org/elichai/bitcoin/jobs/616656410#L36 This closes bitcoin#6466 ACKs for top commit: MarcoFalke: ACK da1f153 Tree-SHA512: e7e94e54e220257d91b24fddc79eab2bcaaadf0b2d1e7e6872d9757808ab2541728f00b1f3ab7e343305c0e7d91bb48a17a3f9621f6fff6c9fe6cde6682de408
This reverts commit 8a4438f.
6136a96 ci: Rename RUN_CI_ON_HOST to DANGER_RUN_CI_ON_HOST (Hennadii Stepanov) 97ba77a ci: Add native s390x (Hennadii Stepanov) Pull request description: Unlike the Docker wrapped solution (#17591) this PR suggests running on host system directly. This approach makes builds quick and stable (see: #18106). The excerpt from the Travis log: ``` ... Running on host system without docker wrapper ... Byte Order: Big Endian ... ``` ACKs for top commit: MarcoFalke: ACK 6136a96 Tree-SHA512: 1b591de13e38d10a35217e1de11cbd648a359d18d16eed166fac18ea5788b58cc9fc6d407086ed342b99e57e479efd951a0ea693710177e500eb116316b9a788
da1f153 Add s390x tests to travis (Elichai Turkel) 2fa65e0 Add ci script to install on s390x (Elichai Turkel) Pull request description: Discovered this as part of bitcoin#17402 and a conversation with gmaxwell. You can see here that the platform is indeed BE: https://travis-ci.org/elichai/bitcoin/jobs/616656410#L36 This closes bitcoin#6466 ACKs for top commit: MarcoFalke: ACK da1f153 Tree-SHA512: e7e94e54e220257d91b24fddc79eab2bcaaadf0b2d1e7e6872d9757808ab2541728f00b1f3ab7e343305c0e7d91bb48a17a3f9621f6fff6c9fe6cde6682de408
This reverts commit 8a4438f.
Discovered this as part of #17402 and a conversation with gmaxwell.
You can see here that the platform is indeed BE: https://travis-ci.org/elichai/bitcoin/jobs/616656410#L36
This closes #6466