File tree Expand file tree Collapse file tree 5 files changed +34
-17
lines changed Expand file tree Collapse file tree 5 files changed +34
-17
lines changed Original file line number Diff line number Diff line change 6767 with :
6868 python-version : ' 3.12'
6969
70- - run : sudo apt-get update
71- - run : sudo apt-get install libgmp-dev libmpfr-dev xz-utils ninja-build
72- - run : curl -O -L https://www.flintlib.org/flint-3.1.0.tar.gz
73- - run : tar -xzf flint-3.1.0.tar.gz
74- - run : cd flint-3.1.0 && ./configure --disable-static && make -j4 && sudo make install
70+ - run : bin/install_latest_flint_ubuntu.sh
7571 - run : pip install build
7672 - run : python -m build --sdist
7773
@@ -129,9 +125,7 @@ jobs:
129125 - uses : actions/setup-python@v5
130126 with :
131127 python-version : ' 3.12'
132- - run : sudo apt-get update
133- - run : sudo apt-get install libflint-dev
134-
128+ - run : bin/install_latest_flint_ubuntu.sh
135129 - run : pip install --upgrade pip
136130 - run : pip install -r requirements-dev.txt
137131 - run : spin run -- pytest --doctest-glob='*.rst' doc/source
Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ build:
1010 os : ubuntu-24.04
1111 tools :
1212 python : " 3.12"
13- # You can also specify other tool versions:
14- # nodejs: "19"
15- # rust: "1.64"
16- # golang: "1.19"
1713 apt_packages :
18- - libflint-dev
19- jobs :
20- pre_build :
21- - pip install .
14+ - libgmp-dev
15+ - libmpfr-dev
16+ - xz-utils
17+ - ninja-build
18+ commands :
19+ - bin/install_latest_flint_ubuntu.sh
20+ - spin docs
21+ - mv doc/build/html $READTHEDOCS_OUTPUT/html
2222
2323# Build documentation in the "docs/" directory with Sphinx
2424sphinx :
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ source bin/build_variables.sh
6+
7+ sudo apt-get update
8+ sudo apt-get install libgmp-dev libmpfr-dev xz-utils ninja-build
9+
10+ curl -O -L https://github.com/flintlib/flint/releases/download/v$FLINTVER /flint-$FLINTVER .tar.gz
11+ tar -xzf flint-$FLINTVER .tar.gz
12+ cd flint-$FLINTVER && ./configure --disable-static && make -j$( expr $( nproc) + 1) && sudo make install
13+
14+ ls -l /usr/local/lib
15+ sudo ldconfig /usr/local/lib
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ apt-get install xz-utils
4+
5+ bin/build_dependencies_unix.sh\
6+ --gmp gmp\
7+ --host x86_64-pc-linux-gnu\
8+ --use-gmp-github-mirror
Original file line number Diff line number Diff line change 11**nmod_mpoly ** -- multivariate polynomials over the integers mod n (word-size n)
2- ===============================================================================
2+ ================================================================================
33
44.. autoclass :: flint.nmod_mpoly_ctx
55 :members:
You can’t perform that action at this time.
0 commit comments