diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b36188b4..ee39bcb2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: - name: Install extra deps on Linux if: runner.os == 'Linux' - run: sudo apt-get update && sudo apt-get install -y libboost-dev swig autoconf libtool + run: sudo apt-get update && sudo apt-get install -y libboost-dev libmpfr-dev swig autoconf libtool - name: Install package run: python -m pip install .[test] -v diff --git a/pyproject.toml b/pyproject.toml index 885351c1..652039cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,5 +16,8 @@ manylinux-i686-image = "manylinux2014" [tool.cibuildwheel.linux] before-all = [ "yum update -y", - "yum install -y mpfr-devel boost-devel", + "yum install -y mpfr-devel", + "curl -L https://boostorg.jfrog.io/artifactory/main/release/1.80.0/source/boost_1_80_0.tar.bz2 -o boost_1_80_0.tar.bz2", + "tar --bzip2 -xf boost_1_80_0.tar.bz2", + "mv boost_1_80_0/boost /usr/include/boost", ] diff --git a/setup.py b/setup.py index 816da77f..54410ad2 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ import setuptools.command.install CGAL_ZIP = ( - "https://github.com/CGAL/cgal/releases/download/v5.2.1/CGAL-5.2.1-library.zip" + "https://github.com/CGAL/cgal/releases/download/v5.5.1/CGAL-5.5.1-library.zip" ) DIR = pathlib.Path(__file__).parent.resolve() @@ -70,6 +70,7 @@ def build_extensions(self): f"--prefix={OUTPUT}", "--enable-allcxxplugins", "--enable-cgal-header-only", + "--enable-cgal", f"--with-cgaldir={cgal_dir}", "--enable-swig", "--enable-pyext",