Skip to content
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

[CustomOp] Split build directory for each setup.py #31124

Merged
merged 2 commits into from
Feb 24, 2021

Conversation

Aurelius84
Copy link
Contributor

PR types

New features

PR changes

Others

Describe

What's New?

Before this PR, all setup.py in unittests share same build directory, which will lead to remove the directory by mistake while parallelling execute setup.py, for example on CI.

So we split them into independent sub-directory, such as

// For setup build
-- build
  |-- custom_relu2
      |-- relu2.so
  |-- multi_outs
  |-- ....


// For /root/.cache/paddle_extension

-- paddle_extension
  |--custom_relu2
     |-- relu2.so
  |-- multi_outs
  |-- ...

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

chalsliu
chalsliu previously approved these changes Feb 23, 2021
Copy link
Contributor

@chenwhql chenwhql left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

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

LGTM

@Aurelius84 Aurelius84 merged commit dce2db4 into PaddlePaddle:develop Feb 24, 2021
chenwhql pushed a commit to chenwhql/Paddle that referenced this pull request Feb 26, 2021
* split build directory for each setup.py

* fix template string
@Aurelius84 Aurelius84 deleted the fix_custom_op_ci branch April 12, 2021 03:36
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.

4 participants