-
-
Notifications
You must be signed in to change notification settings - Fork 568
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
cython_aliases: Do not fail if one of the listed libraries is not known to pkgconfig #31384
Comments
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Commit: |
Reviewer: Matthias Koeppe |
comment:4
What did you need this for exactly in #30371? For modularization we certainly need something like this; but I think when building all modules, with this patch the unresolved cython aliases will just stay as is and cause errors later. |
comment:6
I changed this during my experiments where I tried to have everything work without any previous built sage's packages. So it's not needed for #30371. |
comment:7
Thanks! Then I will rework this ticket for the purposes of modularization, making the list of needed libraries an input. |
comment:9
Setting new milestone based on a cursory review of ticket status, priority, and last modification date. |
comment:10
A version of this is needed for Sage 9.3: Since #29706, |
comment:11
(Related previous ticket: #30706) |
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. New commits:
|
comment:14
If any changes in |
Changed author from Tobias Diez to Tobias Diez, Matthias Koeppe |
Changed reviewer from Matthias Koeppe to Matthias Koeppe, ... |
comment:16
I don't know about other distros but Gentoo is good. This particular section hasn't needed patching in some time here. |
comment:17
Debian has a relevant patch: https://sources.debian.org/patches/sagemath/9.2-2/d0-gsl-cblas.patch/ |
comment:18
They are enforcing using gslcblas as their cblas library. That's a bit surprising and shocking. Their own comment is confusing, they seem to think gslcblas should be used which is not the case. I think it could be nice to provide them with a fallback option that could be provided by sage_conf.py if pkg-config cannot find a cblas module. Someone knowing more about what .pc files debian provides should comment. |
comment:20
In Debian BLAS is managed with the alternatives system (update-alternatives), which allows to install multiple implementations at the same time and define one of them as default. But no BLAS implementation installs a libcblas.so or cblas.pc. Could it be that this is not really needed and provided by libblas.so together with cblas.h? |
comment:21
Replying to @tobihan:
That's a Debian specific thing The unpatched Netlib reference blas implementation does install a libcblas.so library. |
comment:22
Ok, then the fallback for Debian should be to use blas.pc and link against libblas. |
comment:23
Sounds fair. If cblas.pc is not found, look for blas.pc instead. It should be doable. |
comment:24
You can do this already without patching sagelib by setting |
comment:25
Yes, indeed the mechanics to do that is already there. So many good changes recently :) |
comment:26
Sounds like no further changes are needed on this ticket. Let's get this into 9.3 please |
comment:27
LGTM. |
Changed reviewer from Matthias Koeppe, ... to Matthias Koeppe, Jonathan Kliem |
comment:28
Thanks! |
(split out from #30371)
This helps with the modularization effort.
CC: @isuruf @kiwifb @antonio-rojas @collares @tobihan @infinity0
Component: build: configure
Author: Tobias Diez, Matthias Koeppe
Branch/Commit:
3cb8f90
Reviewer: Matthias Koeppe, Jonathan Kliem
Issue created by migration from https://trac.sagemath.org/ticket/31384
The text was updated successfully, but these errors were encountered: