Skip to content

Make msolve build with flint 3 alpha#76

Merged
mohabsafey merged 1 commit intoalgebraic-solving:masterfrom
mezzarobba:flint3
Sep 15, 2023
Merged

Make msolve build with flint 3 alpha#76
mohabsafey merged 1 commit intoalgebraic-solving:masterfrom
mezzarobba:flint3

Conversation

@mezzarobba
Copy link
Copy Markdown
Contributor

...while remaining compatible with flint2.

There are still some warnings that I think should be fixed on the flint
side, see flintlib/flint#1390.

@mohabsafey
Copy link
Copy Markdown
Contributor

Thanks for this proposal. Currently, it does not pass the CI tests.
You should use the preprocessor with the statement
#if __FLINT_VERSION < 3
to include the nmod.h file

@mezzarobba
Copy link
Copy Markdown
Contributor Author

Right, nmod.h has been there for some time, but maybe not since the oldest flint version supported by msolve.

@vneiger
Copy link
Copy Markdown
Contributor

vneiger commented Sep 15, 2023

CI checks went well, and modifications look right for me (checked on my install where I had the same issue with recent flint).

@mohabsafey mohabsafey merged commit 0fb562f into algebraic-solving:master Sep 15, 2023
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 4, 2023
sagemathgh-35848: upgrade to flint3
    
Upgrade to flint3.

Current Sage versions are not compatible with flint ≥ 3, and, though the
diff is not huge, there are enough changes that versions including this
PR will be incompatible with flint < 3.

Fixes sagemath#20003.
Closes sagemath#35993 as no longer relevant.

Related PRs in upstream projects:
* Singular/Singular#1177
* flintlib/flint#1408
* flintlib/flint#1489
* flintlib/flint#1492
* flintlib/flint#1611
* algebraic-solving/msolve#76
* flatsurf/e-antic#264

Additional changes still needed for optional packages to work:
* sagemath#36677
* upgrade e-antic
* possibly more

Planned follow-ups:
* sagemath#36449
* sagemath#36433
    
URL: sagemath#35848
Reported by: Marc Mezzarobba
Reviewer(s): Vincent Delecroix
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 5, 2023
sagemathgh-35848: upgrade to flint3
    
Upgrade to flint3.

Current Sage versions are not compatible with flint ≥ 3, and, though the
diff is not huge, there are enough changes that versions including this
PR will be incompatible with flint < 3.

Fixes sagemath#20003.
Closes sagemath#35993 as no longer relevant.

Related PRs in upstream projects:
* Singular/Singular#1177
* flintlib/flint#1408
* flintlib/flint#1489
* flintlib/flint#1492
* flintlib/flint#1611
* algebraic-solving/msolve#76
* flatsurf/e-antic#264

Additional changes still needed for optional packages to work:
* sagemath#36677
* upgrade e-antic
* possibly more

Planned follow-ups:
* sagemath#36449
* sagemath#36433
    
URL: sagemath#35848
Reported by: Marc Mezzarobba
Reviewer(s): Vincent Delecroix
ederc pushed a commit to ederc/msolve that referenced this pull request Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants