Opened 7 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.

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:

. . . . . .

Some history:

In 2009, there was intermittent interest in making such a Sage package.!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.

There also was some interest in this topic in 2013: I do not know if there were any outcomes.

. . . . . . . . .

Some random CGAL resources:

Change History (13)

comment:1 Changed 5 years ago by mkoeppe

  • Branch set to u/mkoeppe/add_cgal_package

comment:2 Changed 5 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 5 years ago by vdelecroix

Nice! Testing right now.

comment:4 Changed 5 years ago by vdelecroix

There are also various boost libraries needed...

(EDIT: for which we have a package)

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

comment:5 Changed 5 years ago by vdelecroix

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

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

comment:6 Changed 5 years ago by vdelecroix

Concerning open source root isolation I know at least:

comment:7 Changed 5 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 5 years ago by mkoeppe

comment:9 Changed 5 years ago by mkoeppe

  • Description modified (diff)

comment:11 Changed 2 years ago by mkoeppe

  • Milestone changed from sage-7.6 to sage-wishlist

comment:12 Changed 19 months ago by mkoeppe

  • Cc gh-DRKWang added

comment:13 Changed 7 months ago by slelievre

This related ticket:

  • #31098: Package cgal-swig-bindings, script packages cgal, swig

is ready for review.

Note: See TracTickets for help on using tickets.