-
Notifications
You must be signed in to change notification settings - Fork 6.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
Add s390x builds to Travis #6168
Conversation
9a09c19
to
2b3beae
Compare
Hi, any updates on the PR if the changes can be merged? |
2b3beae
to
13f16d9
Compare
@sangitanalkar No progress yet, there are a couple of issues that need to be investigated including - #6236 In addition whilst we have CI for s390x. We do not have access to an s390x system for building releases on, without that we would be unable to release binaries for that platform. |
@adamretter we could provide the s390x system, please let us know the configuration that is needed. |
@sangitanalkar could you contact me directly by email to discuss. |
13f16d9
to
f90e20c
Compare
I also emailed @edelsohn about getting access to a community development system. |
f90e20c
to
52c7c28
Compare
a7a24d1
to
af86eb8
Compare
.travis.yml
Outdated
@@ -25,6 +26,7 @@ addons: | |||
- liblzma-dev # xv | |||
- libzstd-dev | |||
- zlib1g-dev | |||
- libssl-dev # needed for CMake to download deps |
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.
This probably isn't needed now that we have pre-built binary?
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 will remove it
fc62452
to
4a6e002
Compare
Summary: For s390x support, some updates in newer version of Align.h are needed. Upgrading just that file as best we can, with one addition to Portability.h and tweaking new code in Align.h to use C++11 only (no non-trivial constexpr functions). Test Plan: CI, further work in PR facebook#6168
Summary: For s390x support, some updates in newer version of Align.h are needed. Upgrading just that file as best we can, with one addition to Portability.h and tweaking new code in Align.h to use C++11 only (no non-trivial constexpr functions). Pull Request resolved: #6534 Test Plan: CI, further work in PR #6168 Differential Revision: D20445942 Pulled By: pdillinger fbshipit-source-id: 0cef3c367463c71f3123d12cdf287c573af5e342
4a6e002
to
5a9fe9e
Compare
8bd055a
to
9d330d6
Compare
9d330d6
to
b774b6d
Compare
b774b6d
to
e9569b7
Compare
e9569b7
to
20462ce
Compare
Hi @adamretter, I'd like to work on adding s390x support to rocksdb. I'm part of the same group that was asking about s390x support in #8642 but I'm just looking at the latest rocksdb. I've starting with a rebased fork of adamretter:feature/travis-s390x and added a few fixes for recent changes. I'm down to three failing tests:
and all failures seem related to bloom filters, eg:
I'm not sure where to start with these. I posted this to the facebook RocksDB Developers group but didn't get a response so not sure I picked the best forum. Any suggestions on where or who to ask would be great. I noticed all of theses tests set a seed for the random number generator so the same sequence is always used. Just a wild guess but I'm wondering if the threshold values.(0.008, 0.15, 0.5) are not really hard thresholds and if the errors might not indicate a real problem on s390x. Thanks! Happy to provide any more info or testing as needed. |
Summary: This PR adds support for building on s390x including updating travis CI. It uses the previous work in #6168 and adds some more changes to get all current tests (make check and jni tests) to pass. The tests were run with snappy, lz4, bzip2 and zstd all compiled in. There are a few pieces still needed to get the travis build working that I don't think I can do. adamretter is this something you could help with? 1. A prebuilt https://rocksdb-deps.s3-us-west-2.amazonaws.com/cmake/cmake-3.14.5-Linux-s390x.deb package 2. A https://hub.docker.com/r/evolvedbinary/rocksjava s390x image Not sure if there is more required for travis. Happy to help in any way I can. Pull Request resolved: #8962 Reviewed By: mrambacher Differential Revision: D31802198 Pulled By: pdillinger fbshipit-source-id: 683511466fa6b505f85ba5a9964a268c6151f0c2
@jonathan-albrecht-ibm Sorry for the delay. Would you be able to invite me again to your https://github.com/jonathan-albrecht-ibm/cmake-3.14.5-Linux-s390x-deb repository please? |
np @adamretter I've resent the invite. |
@jonathan-albrecht-ibm Got it. Thanks :-) |
@jonathan-albrecht-ibm Can this now be closed in favour of your work in #8962 ? I have one question about your PR (#8962)... Why the arch is set to |
Yes, #8962 includes these changes so this can be closed.
Yes, its definitely a judgment call and I didn't mean to jump the gun on this.
Also, I know at least golang's s390x binary dist is built for minimum |
Thanks @jonathan-albrecht-ibm for the explanation, let's leave it as |
Summary: This PR adds support for building on s390x including updating travis CI. It uses the previous work in facebook/rocksdb#6168 and adds some more changes to get all current tests (make check and jni tests) to pass. The tests were run with snappy, lz4, bzip2 and zstd all compiled in. There are a few pieces still needed to get the travis build working that I don't think I can do. adamretter is this something you could help with? 1. A prebuilt https://rocksdb-deps.s3-us-west-2.amazonaws.com/cmake/cmake-3.14.5-Linux-s390x.deb package 2. A https://hub.docker.com/r/evolvedbinary/rocksjava s390x image Not sure if there is more required for travis. Happy to help in any way I can. Pull Request resolved: facebook/rocksdb#8962 Reviewed By: mrambacher Differential Revision: D31802198 Pulled By: pdillinger fbshipit-source-id: 683511466fa6b505f85ba5a9964a268c6151f0c2
Highly experimental ;-)