fastjet
fastjet copied to clipboard
build: Remove manual CGAL install
Addresses (and maybe resolves, will need to check) Issue https://github.com/scikit-hep/fastjet/issues/193.
-
build: Remove manual CGAL install
- Remove the manual download of CGAL from setup.py.
- Remove
--with-cgaldirautogen.shflag as CGAL should be installed in a location by the package managers or user that it is findable.
-
build: Add manual CGAL install for Linux cibuildwheel
- The cibuildwheel Linux container is CentOS 7 based, but CGAL is not packaged for CentOS with
yum— only forapt-get, Homebrew, andconda-forge. For Linux cibuildwheel builds this then requires that the CGAL headers (CGAL is header only) need to be manually downloaded from GitHub and then copied into/usr/include/.
- The cibuildwheel Linux container is CentOS 7 based, but CGAL is not packaged for CentOS with
-
docs: Add
libcgal-devinstall to README- Add
libcgal-devto the required packages to install for Linux based development.
- Add
-
ci: Add cgal install to CI
- Use package managers to install
libcgal-dev(Linux) andcgal(macOS) in CI jobs.
- Use package managers to install
This is ready for review. On my fork I also manually started a wheels build to verify that everything passed across all wheels. (Linux aarch64 jobs take a long time due to emulation — c.f. https://github.com/scikit-hep/boost-histogram/issues/958, which is related but not the main time sink.)
Putting into draft state until PR https://github.com/scikit-hep/fastjet/pull/319 is merged or closed.
Closed by #342