Skip to content

Adsk Contrib - Change default C++ version to 14#1508

Closed
hodoulp wants to merge 4 commits into
masterfrom
adsk_contrib/change_cpp_version
Closed

Adsk Contrib - Change default C++ version to 14#1508
hodoulp wants to merge 4 commits into
masterfrom
adsk_contrib/change_cpp_version

Conversation

@hodoulp
Copy link
Copy Markdown
Member

@hodoulp hodoulp commented Oct 1, 2021

Signed-off-by: Patrick Hodoul Patrick.Hodoul@autodesk.com

As discussed at the last TSC meeting, the versions of OpenImageIO and OpenShadingLanguage libraries for CY2022 do not anymore support C++11. To avoid problem to occasional contributors and package maintainers, the default C++ version is now 14 (but CI builds still compile 11, 14, 17 to guaranty support).

I also changed a little bit the various CI builds to better cover the three supported C++ versions on all platforms for CY2022 & CY2021.

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
Signed-off-by: hodoulp <Patrick.Hodoul@autodesk.com>
@michdolan
Copy link
Copy Markdown
Collaborator

@hodoulp I think the CI error is due to the originating branch being in the main OCIO repo instead of your fork. In a fork, the GPU CI will be blocked on push.

Comment thread share/cmake/modules/FindOpenShadingLanguage.cmake Outdated
Co-authored-by: Michael Dolan <michdolan@gmail.com>
Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
@hodoulp hodoulp force-pushed the adsk_contrib/change_cpp_version branch from 7367989 to 9440b8d Compare October 12, 2021 13:18
@hodoulp
Copy link
Copy Markdown
Member Author

hodoulp commented Oct 12, 2021

@michdolan Do you think I should redo my pull request (i.e. no workaround) ?

@hodoulp
Copy link
Copy Markdown
Member Author

hodoulp commented Oct 13, 2021

I will recreate the pull request from a fork.

@hodoulp hodoulp closed this Oct 13, 2021
@hodoulp hodoulp deleted the adsk_contrib/change_cpp_version branch October 13, 2021 03:12
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 this pull request may close these issues.

3 participants