Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enabled cgal #70

Merged
merged 26 commits into from
Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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",
Expand Down