-
-
Notifications
You must be signed in to change notification settings - Fork 544
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
spkg-configure.m4 for NTL #27265
Comments
This comment has been minimized.
This comment has been minimized.
Dependencies: #27212 |
comment:4
here we might want to check that NTL is built with gf2x. However, it appears that it's only question of better performance, not an exta API, if it gf2x is linked. |
Branch: u/dimpase/packages/ntlconf |
Commit: |
Last 10 new commits:
|
Author: Dima Pasechnik |
This comment has been minimized.
This comment has been minimized.
comment:7
nesting of |
comment:8
Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually) |
comment:9
also needs +++ b/build/pkgs/flint/spkg-install
@@ -17,7 +17,7 @@ echo "Configuring FLINT."
--disable-static \
--prefix="$SAGE_LOCAL" \
$SAGE_CONFIGURE_GMP \
- $SAGE_CONFIGURE_NTL \
+ --with-ntl="$SAGE_NTL_PREFIX" \
$SAGE_CONFIGURE_MPFR \
$FLINT_CONFIGURE || sdh_die "Error: Failed to configure FLINT." as completely omitting |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
This is ready for review now. Note that often external NTL packages are built without Perhaps, to be completely on the safe side, |
comment:15
Minor remark (it all looks ok) why keep |
comment:16
Replying to @kiwifb:
Because |
comment:17
Replying to @dimpase:
Thank you for your answer. Once we get some bots reports I think we can move to a positive review. |
comment:18
bots will need need a configure tarball. I'll add it. |
This comment has been minimized.
This comment has been minimized.
comment:72
Missing quotes here: --- a/build/pkgs/ntl/spkg-configure.m4
+++ b/build/pkgs/ntl/spkg-configure.m4
@@ -19,7 +19,7 @@ SAGE_SPKG_CONFIGURE([ntl], [
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[#include <NTL/ZZ.h>]],
[[NTL::ZZ a;]]
- )], [LIBS=$LIBS -lntl]
+ )], [LIBS="$LIBS -lntl"]
[AC_MSG_RESULT([yes])], [
AC_MSG_RESULT([no]); sage_spkg_install_ntl=yes
]) so it works if LIBS was empty, but breaks if it's already not... |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
comment:74
stumble upon this while trying this with more spkg-configs merged. |
comment:75
Please only set this ticket to positive review after you have personally verified that a clean sage build works |
comment:76
what makes you think I did not do this? |
comment:77
A clean build worked great, it's a "dirty" build that revealed the problem of comment:72 |
This comment has been minimized.
This comment has been minimized.
comment:79
with clang on OSX, I just saw a failure to recognise NTL, due to c++ in the test called without Adding But this seems to be a not very consistent way to do thing, as |
comment:80
It might work to just manually call |
comment:81
Replying to @embray:
hmm, no, this does not work, as at this moment I am thinking of putting it into |
comment:82
Replying to @dimpase:
I have opened #28005 to deal with this. |
implemented a direct version check using
AC_RUN_IFELSE
.The rest is standard, as in #27212, basically.
to be merged as a part of #27822
Depends on #27212
Depends on #27641
Depends on #27751
Depends on #27259
CC: @embray @kiwifb @jdemeyer
Component: build: configure
Keywords: spkg-configure ntl
Author: Dima Pasechnik, Erik Bray
Branch/Commit: public/packages/ntlconf @
892143a
Reviewer: Erik Bray, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/27265
The text was updated successfully, but these errors were encountered: