#13799: cvxopt needs to link against gmp/mpir on 32-bit Windows XP Cygwin
----------------------------+-----------------------------------------------
Reporter: kcrisman | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-5.6
Component: cygwin | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
----------------------------+-----------------------------------------------
Comment (by kcrisman):
Sorry, the "second" thing is already in there, so that we use the Sage
include and lib directories. I am more or less suggesting that we add
{{{
#!diff
+ if BUILD_GLPK:
+- glpk = Extension('glpk', libraries = ['glpk'],
++ glpk = Extension('glpk', libraries = libraries+['glpk', 'gmp', 'z'],
+ include_dirs = [ GLPK_INC_DIR ],
+- library_dirs = [ GLPK_LIB_DIR ],
++ library_dirs = libdirs + [ GLPK_LIB_DIR ],
+ sources = ['C/glpk.c'] )
+ extmods += [glpk];
+
}}}
back in the patch file, or at least I think so, at least if `__CYGWIN__`
is defined.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13799#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.