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

header-only ntl interface #1489

Merged
merged 3 commits into from
Oct 12, 2023
Merged

Conversation

mezzarobba
Copy link
Contributor

Here is an attempt at reducing the NTL interface to a single .h file.

At the moment the --with-ntl configure option and its variants are
still there, but are only used to decide whether
interfaces/test/t-NTL-interface.cpp should be compiled and where to
look for NTL for doing that. Afaict the tests in question still pass.

Based on #1409 (which this PR would obsolete).
Closes #1039.

@mezzarobba
Copy link
Contributor Author

@edgarcosta @albinahlback Any comment welcome!

@fredrik-johansson
Copy link
Collaborator

It looks good to me, but I have not tested it.

mezzarobba added a commit to mezzarobba/sage that referenced this pull request Oct 11, 2023
@mezzarobba
Copy link
Contributor Author

Now testing it in sage at sagemath/sage#35848

@mezzarobba mezzarobba marked this pull request as ready for review October 11, 2023 06:08
@fredrik-johansson fredrik-johansson merged commit 9dce38a into flintlib:trunk Oct 12, 2023
13 checks passed
mezzarobba added a commit to mezzarobba/sage that referenced this pull request Oct 13, 2023
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 4, 2023
    
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
    
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split out NTL interface to a separate project
2 participants