-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
openblas spkg-configure.m4: Fix the check for lapack/cblas functions #29361
Comments
Author: Matthias Koeppe |
Commit: |
comment:3
good, it works. |
Reviewer: Dima Pasechnik |
comment:4
Thanks. |
comment:5
Again, with Fedora there is a subsequent problem installing cblas.pc, but it is fixed by #29082 |
comment:6
This does not seem to work for me with Homebrew. I still get
after a distclean and running
|
comment:7
Did you run bootstrap? |
comment:8
Ok, running bootstrap solves this. My bad. I do get an error running bootstrap though, but probably not from this ticket.
|
comment:9
Need to add to ACLOCAL_PATH. |
comment:10
I thought I had done that, but must have messed it up. All good now. Thank you. |
comment:11
I still see problems with finding openblas on fedora-32-standard at https://github.com/mkoeppe/sage/runs/524868616 (which has #29082): Does not find openblas, installs its own openblas, then openblas-dependent packages such as iml, gsl fail to compile. This is in contrast to fedora-32-minimal (which has no system openblas) - where iml builds successfully |
comment:12
it cannot find openblas, as Fedora does not install openblas.pc it is out of scope of this ticket. It is possible to get around this by either shipping or generating one, though. |
comment:13
OK I have created #29393 for the Fedora issue. |
Changed branch from u/mkoeppe/openblas_spkg_configure_m4__fix_the_check_for_lapack_cblas_functions to |
This line (introduced in #29071):
is not executed at all because
AC_FC_FREEFORM
isAC_DEFUN_ONCE
and is called already ingfortran/spkg-configure.m4
As a result:
In this ticket, we fix the check by avoiding
AC_FC_FUNC
altogether, which is not suitable to be used in a configure that must work if no Fortran compiler is available.(Factored out from #29104.)
CC: @dimpase
Component: build: configure
Author: Matthias Koeppe
Branch/Commit:
71ac6a5
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29361
The text was updated successfully, but these errors were encountered: