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

Cargo git dependency causes slow clone of llvm repo #52

Closed
ss2165 opened this issue Feb 10, 2022 · 0 comments · Fixed by #73
Closed

Cargo git dependency causes slow clone of llvm repo #52

ss2165 opened this issue Feb 10, 2022 · 0 comments · Fixed by #73

Comments

@ss2165
Copy link

ss2165 commented Feb 10, 2022

If one uses qirlib as a cargo dependency using the git specification,
e.g. in Cargo.toml

qirlib = {path ="https://github.com/qir-alliance/pyqir"}

Cargo attempts to clone llvm-project as a submodule, which is a very large repository, and does not appear to be required for the dependency.

I don't have a good suggested fix, nor do I know if this actually requires fixing, just something I thought was worth being aware of.

Currently my workaround is to clone the repository myself without submodules and have a local path dependency.

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 a pull request may close this issue.

1 participant