Skip to content

Commit

Permalink
Go back to using apt for libflint in rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarbenjamin committed Sep 9, 2024
1 parent e802cc4 commit 3d0eb95
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,23 @@ build:
os: ubuntu-24.04
tools:
python: "3.12"
commands:
- pip install -r requirements-dev.txt
- bin/build_dependencies_unix.sh --use-gmp-github-mirror
- spin build -- --pkg-config-path=.local/lib/pkgconfig -Dadd_flint_rpath=true
- spin docs
- mv doc/build/html $READTHEDOCS_OUTPUT/html

apt_packages:
- libflint-dev
jobs:
pre_build:
- pip install .

# Tried to use this to build latest version of FLINT but FLINT does not build
# in rtd for some reason. FLINT's configure seems to fail in all sorts of ways
# even though GMP and MPFR build fine.
#
# commands:
# - pip install -r requirements-dev.txt
# - bin/build_dependencies_unix.sh --use-gmp-github-mirror
# - spin build -- --pkg-config-path=.local/lib/pkgconfig -Dadd_flint_rpath=true
# - spin docs
# - mv doc/build/html $READTHEDOCS_OUTPUT/html

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand All @@ -29,6 +40,6 @@ sphinx:
# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: requirements-dev.txt
python:
install:
- requirements: requirements-dev.txt

0 comments on commit 3d0eb95

Please sign in to comment.