-
Notifications
You must be signed in to change notification settings - Fork 648
docs: Update Windows build instructions to rely on deps auto-build #4769
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
Conversation
The INSTALL.md Windows building instructions were out of date in two important ways: (1) they neglected to mention OpenColorIO as a (newly) required dependency nor give instructions for how to build it; (2) it doesn't mention the new BUILD_MISSING_DEPS capabilities. So basically, this PR modifies our Windows build guidance to set OpenImageIO_BUILD_MISSING_DEPS=all and rely on that without needing to document any additional steps for dependencies. Signed-off-by: Larry Gritz <[email protected]>
|
@aras-p I believe the latest revision of the Windows build instructions (before this PR) was written by you. Can you please look this over and make sure I've said the right things and that none the instructions I removed are still essential and should be left in? Also, general questions for the gallery to ponder:
|
Yes, much simpler and easier now with the auto-deps build. I tried the instructions as they are in this PR, everything works fine!
I would go for having it on by default, at least on windows. Maybe everywhere. Obviously everywhere you need a way to turn it off, but having the simplest out of the box experience would be a big plus. That said, I don't know the usual Linux workflows.
I frankly forget why I used both Python and Qt off in those instructions. Most likely because for my use case I did not need any of them. The same reason why I had "no shared libs, use static linking". Maybe the readme could say that "this builds statically linked OIIO libraries and utilities, without Qt or Python integrations for simplicity" or similar. A complete side note: the same readme says that visual studio needs to be 2017-2019 version, but I think that should be extended to 2017-2022. |
My only worry was that while we rely on it for CI, it's new enough that I'm not sure a lot of users have tried it in the wild or what ways it can fail that we haven't anticipated. I guess at least on Windows, the number of people whose builds will break if it's turned on will probably not be worse than the number of people whose builds break now because it can't find a dependency that it needs.
I think, then, I will change the instructions to re-enable them but point out how they can be disabled.
Thanks. I will fix. |
Signed-off-by: Larry Gritz <[email protected]>
|
I revised the instructions a bit based on the above discussion. I'm holding off on changing the default BUILD_MISSING_DEPS for Windows, that feels like it should be a totally separate PR to isolate it. |
INSTALL.md
Outdated
|
|
||
| Note that you can speed up the build by disabling certain components if you | ||
| know you won't need them: Adding `-DUSE_PYTHON=0` to the command above will | ||
| skip building the Python bindings, `-DUSE_QT=0` will disable looking foor and |
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.
foor -> for maybe
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.
yep
Signed-off-by: Larry Gritz <[email protected]>
|
Merging these docs improvements, Aras said they worked for him. |
…cademySoftwareFoundation#4769) The INSTALL.md Windows building instructions were out of date in two important ways: (1) they neglected to mention OpenColorIO as a (newly) required dependency nor give instructions for how to build it; (2) it doesn't mention the new BUILD_MISSING_DEPS capabilities. So basically, this PR modifies our Windows build guidance to set OpenImageIO_BUILD_MISSING_DEPS=all and rely on that without needing to document any additional steps for dependencies. --------- Signed-off-by: Larry Gritz <[email protected]>
…cademySoftwareFoundation#4769) The INSTALL.md Windows building instructions were out of date in two important ways: (1) they neglected to mention OpenColorIO as a (newly) required dependency nor give instructions for how to build it; (2) it doesn't mention the new BUILD_MISSING_DEPS capabilities. So basically, this PR modifies our Windows build guidance to set OpenImageIO_BUILD_MISSING_DEPS=all and rely on that without needing to document any additional steps for dependencies. --------- Signed-off-by: Larry Gritz <[email protected]>
The INSTALL.md Windows building instructions were out of date in two important ways: (1) they neglected to mention OpenColorIO as a (newly) required dependency nor give instructions for how to build it; (2) it doesn't mention the new BUILD_MISSING_DEPS capabilities.
So basically, this PR modifies our Windows build guidance to set OpenImageIO_BUILD_MISSING_DEPS=all and rely on that without needing to document any additional steps for dependencies.