-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
Install Sage-specific .pc files when running make, not configure #29003
Comments
Branch: u/embray/build/configure/pcfiles |
Author: Erik Bray |
Commit: |
comment:1
First attempt at this seems to work. I chose New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:4
Replying to @sagetrac-git:
I think the approach in this version might be simplest, and is closer to the existing behavior. The major difference now is that actually copying |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:6
testing |
Reviewer: Dima Pasechnik |
comment:7
OK, good, thanks! |
Changed branch from u/embray/build/configure/pcfiles to |
comment:9
there is sometimes a permission problem, shouldn't that see e.g. #29071 comment:8 |
Changed commit from |
comment:10
by right, these *.pc files are package data, so they ought to be treated as such, no? |
comment:11
$(PCFILES) must be cleanable, by |
comment:12
the followup (cleaning of *.pc files) is on #29082 |
comment:13
... hotfix in #29121 |
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 runningmake
.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.CC: @dimpase @mkoeppe
Component: build
Author: Erik Bray
Branch:
c7fbc65
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29003
The text was updated successfully, but these errors were encountered: