[Y]es from me it almost goes without saying. ________________________________________ From: sage-devel@googlegroups.com [sage-devel@googlegroups.com] on behalf of Volker Braun [vbraun.n...@gmail.com] Sent: Tuesday, 28 January 2014 0:40 To: sage-devel@googlegroups.com Subject: [sage-devel] Pkgconfig as standard spkg
One general problem with combining libraries into larger projects is that * the package providing of the library knows best about the necessary compiler/linker flags, but * packages using the library must specify the compiler/linker flags Pkgconfig is the standard for solving this problem, http://en.wikipedia.org/wiki/Pkg-config. It consists of a helper commandline program pkg-config and plain-text configuration files (*.pc) that contain the compiler/linker flags necessary. The library then just has to install a suitable libfoo.pc file, and the users of the library call e.g. "pkg-config --cflags libfoo" to get the compiler flags. At http://trac.sagemath.org/15742, have packaged * a command-line implementation (pkgconf) of the pkgconfig spec * and a python interface to pkg-config and propose to make it a standard spkg. In the future, spgk-install scripts shall use pkgconfig whenever possible.In particular, I'm working with Francois Bissey to use pkgconfig for packages using blas/cblas/lapack. This will allow us to switch between different blas/cblas/lapack implementations just by exchanging the pkgconfig (*.pc) files. This is the obligatory "new spkg" vote... -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out. This email may be confidential and subject to legal privilege, it may not reflect the views of the University of Canterbury, and it is not guaranteed to be virus free. If you are not an intended recipient, please notify the sender immediately and erase all copies of the message and any attachments. Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more information. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.