-
Notifications
You must be signed in to change notification settings - Fork 20
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
Minor build tweaks #233
Minor build tweaks #233
Conversation
Do you think it might be worth bumping the minimum CMake version to 3.18, as they have in PyTorch? I think 3.15 still works in most cases, but CMake 3.18 was the first version to include support for any compiler, enabling |
PyTorch generally suggests installing torch, torchvision, and torchaudio as a oneshot. I'm still on the fence about |
I haven't seen CMake <2.8 in many years. CMake 2.6 came out in 2008. I would not worry about what happens if someone tries to run with 2.6; nothing else will work either, it likely wouldn't even run on modern systems. This is the equivalent of worrying about what error message is printed if a user runs Python 2.5. (Python 2.6 and CMake 2.6 came out the same year). |
(I deleted my previous message as I now understand you were concerned about the effect of CMake I agree with Henry that I wouldn't worry about people trying to build with CMake |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Both, and @jwallwork23
In that case I'll trust your judgment, and I also did a quick scan of linux distros and their requirements and concluded anyone using anything old enough to come with CMake 2.x probably has bigger concerns!!
So I'm happy to approve this for merge.
@ElliottKasoar Thanks for the suggestion. I opened this as a new issue: #234. |
This PR:
torchvision
should be installed at the same time astorch
.FATAL_ERROR
from CMake versioning, which is ignored.