Closed rainman110 closed 6 months ago
Thanks @rainman110! I will have a look at the failing test
Do you have any idea, why the ci is not working at all?
Hmm, seems that we need to update the workflow file again...https://github.com/DLR-SC/tigl/actions/runs/6548880919. It is a bit of a pain that github actions are so unstable...
I fixed a shader problem (see #973). It is now working again:
@rainman110, I will rebase on master to see if CI is triggered.
So, it does not compile anymore with OCCT 7.4.0 🤦 . @joergbrech Do you already have the (proper) changes in Geoml, so that we can backport it to TiGL?
So, it does not compile anymore with OCCT 7.4.0 🤦 . @joergbrech Do you already have the (proper) changes in Geoml, so that we can backport it to TiGL?
Unfortunately no, because in paraDiGMS we fixed the OCCT version to 7.6.2 so we never had the need to build it with OCCT 7.4.0.
The code now compiles with both OCCT 7.4.0 and 7.6.1. Something is wrong though with the macos test job, but this should not be related to the PR.
Oh... I see, that I fckd up the git history 🤦
The history is clean again
Attention: 4 lines
in your changes are missing coverage. Please review.
:exclamation: No coverage uploaded for pull request base (
master@363a4ac
). Click here to learn what that means.
Awesome! Thanks so much @rainman110. I will try to build this branch with OCCT 7.6 and if it works we are good to merge.
Hmm, I am having trouble building TiGL with OCCT 7.6.2.
V3d_Coordinate.hxx
which basically just contains a typedef. This file was removed: https://git.dev.opencascade.org/gitweb/?p=occt.git;a=commit;h=7fd4958d451a9c8dcf1c58e100c8ac898484addd. If I am not mistaken, we should replace all occurences of V3d_Coordinate
with Standard_Real
.
TiglViewerInternal.h
includes MMgt_TShared.hxx
which has been removed: https://git.dev.opencascade.org/gitweb/?p=occt.git;a=commit;h=f4e7c3078527877b5d1f13f2c74982be4450e14b. I believe we can just remove the include. I don't think it is used.CCPACSConfiguration.cpp
includes BRepAlgo_Fuse.hxx
which has been removed: https://git.dev.opencascade.org/gitweb/?p=occt.git;a=commit;h=efac1733770f766f136694da42454bdd0db62c67. I believe we can just remove the include. I don't think it is used.@rainman110, could you verify this?
@rainman110, if you like, I can take over from here (but please give me a heads-up if this is ok for you, so that I don't mess around in your branch). Thank you very much!
I propose to
Ok so I tested this locally on Ubuntu 20.04 with the new opencascade anaconda packages for version 7.6.2 in our dlr-sc channel. There still was an issue with a faulty integration test which succeeded with opencasce 7.4, but not with 7.6.2 which can easily be fixed.
I will allow myself to rebase this on master and fix the test. Then I am fine to merge. Sorry for keeping this open so long.
I will not yet update the opencascade version in our CI to 7.6.2, because one CI job uses the anaconda package opencascade-static
, which is still at 7.4.0, see also https://github.com/DLR-SC/tigl-conda/issues/37. @rainman110, do you remember where these packages came from? Did you build them locally?
Note to self: Bumping the opencascade version actually used in our release boils down to modifying the environment.yml here and the conda recipe at https://github.com/DLR-SC/tigl-conda after the next release.
I used the recipes from the TiGL repo: https://github.com/DLR-SC/tigl/tree/master/ci/conda
OpenCASCADE 7.6.2 support
Description
I adapted the code to allow TiGL to be used with OCCT 7.6.1 as well. Fixes #973
How Has This Been Tested?
I compiled it with OCCT 7.6.1, executed the unit tests, and started TiGL Viewer.
Here are some notes:
Screenshots, that help to understand the changes(if applicable):
Checklist: