-
Notifications
You must be signed in to change notification settings - Fork 432
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
use git submodules #87
Comments
I think so. For now, you can download asmjit once and point ASMJIT_SRC_DIR env var to the downloaded source code to avoid downloading with build. Particular git tag we use is in https://github.com/pytorch/FBGEMM/blob/master/cmake/modules/DownloadASMJIT.cmake |
@t-vi I run into this problem all the time too. I created a pull request. Perhaps you could test it out and let me know if it works for you. |
@dhpollack Thanks a lot for the pull request. Let me test its impact on Caffe2/Pytorch build. |
Summary: I created a pull request for #87. I also tend to do a lot of hacking without an internet connection and it is nice to have the required library offline. I also get a cryptic error message when I build pytorch without an internet connection because these modules aren't available. Pull Request resolved: #95 Reviewed By: jianyuh Differential Revision: D15299133 Pulled By: dskhudia fbshipit-source-id: 6cf9ed47482eceee5f0444a8361720e0cfe25a13
Update: I had to revert the commit because adding submodules involves one more step so that internal tools work correctly. Will re-commit soon. |
@dskhudia I also noticed a few other things that I can update before you commit this pr.
Let me know if you want me to make those changes. I am not sure it matters as both work for me right now. |
|
@t-vi and @dhpollack : It's fixed now. Once the pytorch's fbgemm submodule gets updated (should happen soon) to fbgemm's latest commit, pytorch build will not download asmjit at build time. @dhpollack : Thanks for your PR 👍 |
Would it be possible to use git submodules for ASMJIT?
The downloading during the (PyTorch) build can be a bit hard for me when hacking PyTorch while travelling.
Thanks!
The text was updated successfully, but these errors were encountered: