-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Compile raylet cython bindings with bazel #3842
Conversation
Test FAILed. |
@@ -0,0 +1,71 @@ | |||
"""Custom rules for gRPC Python""" |
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.
What is the role of this file?
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 file is used to compile the .pyx files with cython, see
load("@//bazel:cython_library.bzl", "pyx_library")
in BUILD.bazel
and
pyx_library(
name = "_raylet",
srcs = glob([
"python/ray/_raylet.pyx",
"python/ray/includes/*.pxd",
"python/ray/includes/*.pxi"
]),
deps = [":raylet_lib"]
)
WORKSPACE
Outdated
@@ -22,8 +22,20 @@ git_repository( | |||
) | |||
|
|||
new_git_repository( | |||
name = "plasma", | |||
build_file = "@//bazel:BUILD.plasma", |
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.
original indentation was correct
@@ -0,0 +1,295 @@ | |||
# Adapted with modifications from tensorflow/third_party/py/ |
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.
Maybe add a comment pointing out the minor modifications you made to this file
Test FAILed. |
Test PASSed. |
f06fab2
to
b3a2524
Compare
b3a2524
to
b2a34fc
Compare
Test FAILed. |
Test PASSed. |
Test PASSed. |
Test PASSed. |
Test PASSed. |
Test FAILed. |
Test PASSed. |
@rsepassi please take a quick look as a sanity check if you have a chance! |
looks good! |
Thanks @rsepassi! |
The plasma store can be built with:
And the raylet can be built with:
Related to #2887.