Opened 6 years ago

Last modified 7 months ago

#18197 new enhancement

Add CGAL package

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-wishlist
Component: packages: optional Keywords: cgal, polyhedra, geometry
Cc: vdelecroix, gh-DRKWang Merged in:
Authors: Matthias Koeppe Reviewers:
Report Upstream: N/A Work issues:
Branch: u/mkoeppe/add_cgal_package (Commits, GitHub, GitLab) Commit: 30bfc2e3a2daa21ba282ed13bae17c2a58dd56ea
Dependencies: Stopgaps:

Status badges

Description (last modified by mkoeppe)

This ticket adds a preliminary Sage package for CGAL, the Computational Geometry Algorithms Library. http://www.cgal.org/index.html

It is a huge package. My main interest, right now, comes from a need for fast data structures for polyhedral complexes in low dimension / piecewise linear functions in several variables.

Installation goes through; I have not tested anything.

Upstream archive: https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.9/CGAL-4.9.zip

. . . . . .

Some history:

In 2009, there was intermittent interest in making such a Sage package. https://groups.google.com/forum/#!topic/sage-devel/35g7UicEKvo One of the concerns at the time apparently was CGAL's licensing. However, CGAL has changed its licensing terms since then; it now appears to be released under some combination of GPL and LGPL, version 3 or later. http://www.cgal.org/license.html

There also was some interest in this topic in 2013: http://www.cgal.org/gsoc/2013.html I do not know if there were any outcomes.

. . . . . . . . .

Some random CGAL resources:

Change History (12)

comment:1 Changed 4 years ago by mkoeppe

  • Branch set to u/mkoeppe/add_cgal_package

comment:2 Changed 4 years ago by mkoeppe

  • Authors set to Matthias Koeppe
  • Cc vdelecroix added
  • Commit set to 30bfc2e3a2daa21ba282ed13bae17c2a58dd56ea
  • Component changed from packages: experimental to packages: optional
  • Description modified (diff)
  • Milestone changed from sage-wishlist to sage-7.6

New commits:

30bfc2eAdd spkg for CGAL 4.9

comment:3 Changed 4 years ago by vdelecroix

Nice! Testing right now.

comment:4 Changed 4 years ago by vdelecroix

There are also various boost libraries needed...

(EDIT: for which we have a package)

Last edited 4 years ago by vdelecroix (previous) (diff)

comment:5 Changed 4 years ago by vdelecroix

The Sage cmake package is installed. Why don't we use the system one (as we do for gcc)?

Version 0, edited 4 years ago by vdelecroix (next)

comment:6 Changed 4 years ago by vdelecroix

Concerning open source root isolation I know at least:

comment:7 Changed 4 years ago by vdelecroix

At least I am able to compile simple CGAL projects within Sage. However, having some cython code using CGAL looks less trivial.

comment:8 Changed 4 years ago by mkoeppe

comment:9 Changed 4 years ago by mkoeppe

  • Description modified (diff)

comment:11 Changed 14 months ago by mkoeppe

  • Milestone changed from sage-7.6 to sage-wishlist

comment:12 Changed 7 months ago by mkoeppe

  • Cc gh-DRKWang added
Note: See TracTickets for help on using tickets.