#20133: Use pkg-config for Sage setup
-------------------------------------+-------------------------------------
Reporter: vbraun | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-7.1
Component: build | Resolution:
Keywords: | Merged in:
Authors: Volker Braun | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/fbissey/use_pkg_config_for_sage_setup|
12d54b5620e55af324a9b1dddefc2acda3142d88
Dependencies: #20130 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
If you need to add flags like
{{{
#!diff
+ library_dirs = gsl_library_dirs,
+ include_dirs = gsl_include_dirs),
}}}
you must put them in the `.pxd` files, not in `module_list.py`. The reason
is that there are a lot more extensions than the ones in `sage/gsl/*.pyx`
which use the gsl library. If you add those dirs and includes to the gsl
`.pxd` files, then all extensions using gsl will automatically have the
correct flags added.
This currently applies only to gsl, since all other libraries that you
changed are listed directly in `module_list.py`.
--
Ticket URL: <http://trac.sagemath.org/ticket/20133#comment:21>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.