Skip to content

Comments

make Singular build with flint3#1177

Merged
hannes14 merged 1 commit intoSingular:spielwiesefrom
mezzarobba:flint3
Jul 4, 2023
Merged

make Singular build with flint3#1177
hannes14 merged 1 commit intoSingular:spielwiesefrom
mezzarobba:flint3

Conversation

@mezzarobba
Copy link
Contributor

This is a naive attempt to make Singular build with flint3. It is
essentially untested apart from checking that it builds with both
flint-2.9.0 and flint-3.0.0-alpha1.

@mezzarobba mezzarobba changed the title (wip) make Singular build with flint3 make Singular build with flint3 Jul 4, 2023
@mezzarobba
Copy link
Contributor Author

Unless I've made a mistake somewhere, this passes make check as well as the SageMath test suite with both flint 2.9 and flint 3 alpha1, so I'm marking the PR as ready for review.

Note that some of the changed code could be made a bit faster by using fmp*_init_set_readonly and friends, but I think that would break compatibility with old flint versions.

@mezzarobba mezzarobba marked this pull request as ready for review July 4, 2023 09:32
Copy link
Member

@hannes14 hannes14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@hannes14 hannes14 merged commit 55b50e3 into Singular:spielwiese Jul 4, 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
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.

2 participants