-
Notifications
You must be signed in to change notification settings - Fork 37.8k
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,18 @@ | ||||||||||||
#!/usr/bin/env bash | ||||||||||||
# | ||||||||||||
# Copyright (c) 2019 The Bitcoin Core developers | ||||||||||||
# Distributed under the MIT software license, see the accompanying | ||||||||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||||||||||
|
||||||||||||
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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
And then add in the travis.yml:
(just like we do for arm) There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. Ah good catch, yes. |
||||||||||||
export DOCKER_NAME_TAG=s390x/ubuntu:18.04 | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Is this needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe 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 commentThe 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) |
||||||||||||
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 commentThe reason will be displayed to describe this comment to others. Learn more. Could add this to the script where we print There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
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.