Skip to content

Build python extensions before copying files - #2221

Merged
pcmoritz merged 1 commit into
ray-project:masterfrom
stephanie-wang:fix-build
Jun 9, 2018
Merged

pcmoritz merged 1 commit into
ray-project:masterfrom
stephanie-wang:fix-build

Conversation

@stephanie-wang

Copy link
Copy Markdown
Contributor

What do these changes do?

This fixes a bug where the built targets were getting copied from the build directory before the Python extensions were built. I believe this happened because the target for Python extensions (local_scheduler_library_python or local_scheduler_library_java) has a different name from the outputted file (liblocal_scheduler_library_python.so).

Related issue number

I think this may fix #2216.

@robertnishihara robertnishihara left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM assuming the tests pass, thanks!

@pcmoritz pcmoritz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great find!

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/5949/
Test PASSed.

@pcmoritz
pcmoritz merged commit cb5e6e6 into ray-project:master Jun 9, 2018
@pcmoritz
pcmoritz deleted the fix-build branch June 9, 2018 03:41
@nskplta

nskplta commented Jun 9, 2018

Copy link
Copy Markdown

@stephanie-wang Could you further explain how to

Build python extensions before copying files

Trying to solve ModuleNotFoundError: No module named 'ray.core.src.local_scheduler.liblocal_scheduler_library_python'
Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No module named 'ray.core.src.local_scheduler.liblocal_scheduler_library_python'

5 participants