-
Notifications
You must be signed in to change notification settings - Fork 459
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
Update analysis workflow #1515
Update analysis workflow #1515
Conversation
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.
LGTM. But it seems that there is a problem with NONE
.
I wonder if we should update Also noting that with this current PR, yaml-cpp 0.6.3 will still work (if we were to leave the FindExt.cmake to 0.6.3 or above) but unit test will fail because of the trailing whitespace differences. |
We can safely update the third-party libraries because I did not plan to port this pull request in The last update I did, I fixed the expected version because of mismatches between the versions (it was |
Less and less comfortable with the statement because the issues clearly highlight problems e.g. |
As agreed by TSC, that's a go for a port in |
@remia Following the discussion at the last TSC meeting I propose to not use the latest version for private third-party libraries such as |
@remia Did you plan to fix the |
I'll add support for About the latest usage, currently it was only planned to be used for the nightly analysis build, are we saying we want to enable that for |
Yes. That's the side-effect of using this option. But the default remains |
Yes. Only the nightly analysis CI build should use the latest version of the third-party libraries. My point is related to the goal of the As mentioned during the last TSC meeting and in previous comments from this pull request maintaining a range of versions for third-party libraries could be complex on long-term (I took the example of the yaml version conflicts I faced when updating that library). So, we agreed to stick to a specific version for the mandatory third-party libraries not part of the ASWF ecosystem (such as @michdolan @remia In conclusion I suggest that the |
I will remove all the latest version override from the Also going to add OSL latest install for Linux builds. |
d64d89c
to
147de15
Compare
@hodoulp, I would recommend waiting for #1514 before merging this to make sure the Find-OSL script pick up the system wide install on the Linux analysis jobs. This is currently not the case, hence no OSL tests, but I believe this is fixed by the PR. I'll also remove the temporary commit that enable the analysis build in PR when that's fixed. |
Merge of OSL pull request is done, and this pull request is now updated. |
4dd3e2c
to
aa519ba
Compare
@@ -96,6 +96,8 @@ jobs: | |||
share/ci/scripts/linux/install_openexr.sh latest | |||
share/ci/scripts/linux/install_imath.sh latest |
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.
This will pre-install the latest Imath tag, which we are then doing again below (to a different location) with -DOCIO_INSTALL_EXT_PACKAGES=ALL
and -DOCIO_INSTALL_EXT_PACKAGES_LATEST=ON
. We will also be installing expat, lcms2, yaml-cpp, pystring, pybind11, and openfx twice with this current setup. Previously we used -DOCIO_INSTALL_EXT_PACKAGES=NONE
for this workflow because these were all pre-installed with the scripts. If -DOCIO_INSTALL_EXT_PACKAGES_LATEST=ON
is preferred, I would suggest only using the above install scripts for optional dependencies (and perhaps their dependencies, which may overlap with OCIO) which aren't installed by OCIO. Or, use -DOCIO_INSTALL_EXT_PACKAGES=MISSING
to avoid duplicates where possible.
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.
Perhaps the two defines approach is not the optimal one. To implement the right behavior, the code could support a fourth option dedicated to CI latest
?
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.
I could remove some of the dependencies install script but not much because OIIO need quite a lot of what OCIO already uses. I can remove all remaining OCIO_INSTALL_EXT_PACKAGES_LATEST
stuff and only rely on install script, hoping that they will work on all 3 platforms (to that end we may want to move them to some non platform dependent sub folder as it seems it would only be copy and paste port). The advantage of OCIO_INSTALL_EXT_PACKAGES_LATEST
was that it doesn't require any additional scripts to work but we already removed most of that and there might not be any use case out of this analysis workflow file.
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.
I'll try to have something ready this week to address this point.
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.
I pushed an update implementing the requested, change. As before analysis workflow temporarily enabled on PR to validate the changes.
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.
Following comment from @michdolan, I'm now waiting for the new commit from @remia.
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
9cd19c4
to
816188d
Compare
Signed-off-by: Rémi Achard <remiachard@gmail.com>
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.
LGTM
@michdolan do you want to have a look before the merge? |
When thinking about a patch version in a week, the pull request now needs to be merged to not delay too much the other pull requests. |
This contains some update to the nightly build workflow and related areas:
macos-latest
andwindows-latest
OCIO_INSTALL_EXT_PACKAGES_LATEST
This is still a draft but pushing it if there is any objection to the way it's headed.