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

[nix] add Python binding support in nix #248

Closed
wants to merge 3 commits into from
Closed

Conversation

Avimitin
Copy link
Contributor

This PR add Python binding build support for nix derivation. After this PR, user can use the follow command to have a better setup:

  1. For users, if they want to play around with buddy-mlir bintools:
nix shell .#buddy-mlir
buddy-opt --version
  1. For users, if they want to experience the E2E workflow
nix develop
python ./tests/Python/test_addmm.py
  1. For developers, if they want to contribute to the source code of buddy-mlir
nix develop .#buddy-mlir

mkdir build && cmake ...etc

Important

This PR is developed based on #247, please merge #247 before this PR.

- reposition all python sources
- use LLVM macro to place and install python modules

Signed-off-by: Avimitin <[email protected]>
@Avimitin
Copy link
Contributor Author

I want to merge this PR with #247 because they are strong related.

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.

1 participant