-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Adding support for Linux s390x #1891
Conversation
Can one of the admins verify this patch? |
We have added support for Linux s390x platform in Bazel. Below note needs to be added in Readme: Compiling Bazel from source on s390x platform:For building Bazel on s390x platform, Protobuf and gRPC-java executable are needed.
Could you please review changes? |
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.
Feel free to do the changes to documentation and submit it as a separate PR or as part of this PR, whatever works for you
@@ -128,6 +128,24 @@ inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, | |||
return old_value; | |||
} | |||
|
|||
inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, |
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.
We intend third_party/protobuf/<version>
to be the exact copy of protobuf's directory (see https://github.com/bazelbuild/bazel/blob/master/third_party/protobuf/README.md). So these files should not be changed as part of ths PR
@@ -128,6 +128,24 @@ inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, | |||
return old_value; | |||
} | |||
|
|||
inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, |
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.
Ditto here
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.
@dslomov We have reverted changes from above two files.
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.
We have also updated the documentation for s390x users.
Reverted changes
Updated README to add the proto compiler for Linux s390x.
Updating README to add gRPC Java plugin for Linux s390x.
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 merge this
We have added support for Linux s390x platform in Bazel.