-
-
Notifications
You must be signed in to change notification settings - Fork 677
Description
As noted in this comment, if we generate any .pc files at configure time, rather than write them directly to $SAGE_LOCAL
it would be preferable to write them somewhere in the sage source tree instead, then copy them into the relevant install target (i.e. $SAGE_LOCAL
) only when running make
.
One tricky aspect to this is at least some SPGKs require our generated .pc files to be installed in $SAGE_LOCAL
to build properly. Currently, one way around that is to add $(PCFILES)
to the package's dependencies. This is needed at the very least for numpy.
A different workaround might be to modify PKG_CONFIG_PATH
to include .pc files in the source tree. I have not tried that yet.
Component: build
Author: Erik Bray
Branch: c7fbc65
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29003