Bump SFCGAL to 1.4.0 and CGAL to 5.3 #56

Closed
lbartoletti wants to merge 1 commits from lbartoletti:bump_sfcgal_to_1.4.0 into master

@robe I suggest using the latest version of SFCGAL (and CGAL) which uses the stable (I hope) version of the CGAL API.

@robe I suggest using the latest version of SFCGAL (and CGAL) which uses the stable (I hope) version of the CGAL API.
lbartoletti added 1 commit 2021-09-19 21:53:35 -07:00
continuous-integration/drone/pr Build is passing Details
d960307082
Bump SFCGAL to 1.4.0 and CGAL to 5.3

Okay. FYI the settings for debbie are remarked out because she uses the system installed SFCGAL which for bullseye appears to be SFCGAL 1.3.8/CGAL 5.2. For winnie I do compile SFCGAL so can do that. Any suggestions on version of Boost to use?

Okay. FYI the settings for debbie are remarked out because she uses the system installed SFCGAL which for bullseye appears to be SFCGAL 1.3.8/CGAL 5.2. For winnie I do compile SFCGAL so can do that. Any suggestions on version of Boost to use?
Poster
Collaborator

Any suggestions on version of Boost to use?

AFAIK, >= 1.71.0 is a good choice

> Any suggestions on version of Boost to use? AFAIK, >= 1.71.0 is a good choice

Okay that's good I think on winnie I have boost 1.73 so guess I'll keep that.

That said is CGAL 5.3 required for SFCGAL master now? I thought that was just a preferred.

Related ticket our docker image builds for github actions are failing.

See related ticket:

https://github.com/postgis/postgis-build-env/issues/20

If it's required I can downgrade until I can switch back to building with debian-unstable or just build CGAL as part of the build. I had switched to debian-stable because of this https://github.com/OSGeo/gdal/issues/4341

Okay that's good I think on winnie I have boost 1.73 so guess I'll keep that. That said is CGAL 5.3 required for SFCGAL master now? I thought that was just a preferred. Related ticket our docker image builds for github actions are failing. See related ticket: https://github.com/postgis/postgis-build-env/issues/20 If it's required I can downgrade until I can switch back to building with debian-unstable or just build CGAL as part of the build. I had switched to debian-stable because of this https://github.com/OSGeo/gdal/issues/4341
Poster
Collaborator

That said is CGAL 5.3 required for SFCGAL master now? I thought that was just a preferred.

It's a hard preference ; it no longer uses obscure, undocumented and unstable APIs. It could build with CGAL 5.2/5.1 but some functions may have a slightly different result.

> That said is CGAL 5.3 required for SFCGAL master now? I thought that was just a preferred. It's a hard preference ; it no longer uses obscure, undocumented and unstable APIs. It could build with CGAL 5.2/5.1 but some functions may have a slightly different result.
Poster
Collaborator

just build CGAL as part of the build.

You can use this part of the cgal installation in your CI:

https://gitlab.com/Oslandia/SFCGAL/-/blob/master/ci/debian/before_install.sh#L11-13

BTW, I can also add a SFCGAL postgis test in our CI.

> just build CGAL as part of the build. You can use this part of the cgal installation in your CI: https://gitlab.com/Oslandia/SFCGAL/-/blob/master/ci/debian/before_install.sh#L11-13 BTW, I can also add a SFCGAL postgis test in our CI.

just build CGAL as part of the build.

You can use this part of the cgal installation in your CI:

https://gitlab.com/Oslandia/SFCGAL/-/blob/master/ci/debian/before_install.sh#L11-13

BTW, I can also add a SFCGAL postgis test in our CI.

Okay will do since cgal is header only and it builds sfcgal any way will not add much overhead

> > just build CGAL as part of the build. > > You can use this part of the cgal installation in your CI: > > https://gitlab.com/Oslandia/SFCGAL/-/blob/master/ci/debian/before_install.sh#L11-13 > > BTW, I can also add a SFCGAL postgis test in our CI. Okay will do since cgal is header only and it builds sfcgal any way will not add much overhead

Took care of github actions builds with this commit

c9588ce5a4

I'm not sure why CGAL_DIR wasn't sufficient. It is for me when building under windows. Had to add the -DCMAKE_PREFIX_PATH=/src/CGAL

anyway I think all envs that can run with CGAL 5.3/SFCGAL 1.4/master are done.

Took care of github actions builds with this commit https://github.com/postgis/postgis-build-env/commit/c9588ce5a44bf1d83277cd3f2e06394b45a63456 I'm not sure why CGAL_DIR wasn't sufficient. It is for me when building under windows. Had to add the -DCMAKE_PREFIX_PATH=/src/CGAL anyway I think all envs that can run with CGAL 5.3/SFCGAL 1.4/master are done.
robe closed this pull request 2021-09-23 00:37:26 -07:00
Poster
Collaborator

Thanks @robe

Thanks @robe
lbartoletti deleted branch bump_sfcgal_to_1.4.0 2021-09-27 05:00:12 -07:00
All checks were successful
continuous-integration/drone/pr Build is passing

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: postgis/postgis#56
There is no content yet.