-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
verify if cblas.pc and lapack.pc should be replaced by links to openblas.pc #29071
Comments
comment:1
we can do an |
comment:2
And for cblas we can do |
comment:3
You can also use |
comment:4
Replying to @isuruf:
OK, that's better, thanks. |
Author: Dima Pasechnik |
Branch: u/dimpase/packages/openblaspcfix |
comment:5
needs testing on Arch in particular. New commits:
|
Commit: |
comment:6
trying now on arch |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
With the branch applied, I end up with the same permission issues as with
|
comment:9
Is /opt/sage/local your $SAGE_LOCAL? |
comment:10
sorry, I meant |
comment:11
even more precisely, |
comment:12
I presume you get permission problems while running |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
When I do |
comment:15
the logic of this branch is still not 100% correct - if we end up installing OpenBLAS we should not install any *.pc files, i.e. should not run any |
comment:16
Replying to @videlec:
these |
comment:17
By the way, please pull the branch again - comment:13 is rather important for Arch. |
comment:18
After
|
comment:19
Now, what happens if you run |
comment:20
It seems I got Arch running in an lxc container, so I guess I can polish it on my own. |
comment:72
I also don't get
IMHO there is nothing either in configure.ac or build/pkgs/gcc/spkg-configure.m4 that |
comment:73
Replying to @dimpase:
actually, I don't see the point of this |
comment:74
The trouble is in |
comment:76
Replying to @dimpase:
Sorry, I forgot to include one commit on this branch. |
comment:77
Replying to @dimpase:
Yes, exactly, and more specifically: Because of AC_REQUIRE and AC_DEFUN_ONCE one cannot easily make all things conditional that one would liike. |
New commits:
|
Changed branch from u/mkoeppe/packages/openblaspcfix to u/dimpase/packages/openblaspcfix |
comment:81
IMHO it's an autoconf bug/feature that |
comment:82
Replying to @dimpase:
Yes, I agree. |
comment:83
Replying to @dimpase:
Great, a much easier fix than what I put together in 8cf2a3b/c98c6b2. |
comment:84
Tests finished at https://github.com/mkoeppe/sage/actions/runs/32186055 |
comment:85
Looking good, and certainly fixes what was original reported on this ticket (fflas_ffpack on archlinux). The build error of fflas_ffpack on |
Changed branch from u/dimpase/packages/openblaspcfix to |
currently openblas's spkg-configure.pc unconditionally makes cblas.pc and lapack.pc copies of openblas.pc, which in some cases if incorrect, e.g. Arch Linux has libcblas linked to libopenblas
and containing stuff missing in libopenblas, resulting in errors.
this has been reported on sage-devel
https://groups.google.com/d/msg/sage-devel/pIOnFyFJMtM/_FbzM2OxCQAJ
So we should make these installations conditional.
Depends on #29051
CC: @isuruf @mkoeppe @antonio-rojas
Component: build: configure
Author: Dima Pasechnik
Branch/Commit:
3a4524e
Reviewer: Isuru Fernando, Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/29071
The text was updated successfully, but these errors were encountered: