On Sat, Nov 20, 2021 at 2:23 PM Matthias Köppe <[email protected]> wrote:
>
> On Saturday, November 20, 2021 at 1:57:40 PM UTC-8 William Stein wrote:
>>
>>
>> So I do "brew install openblas && ./configure && make" to continue onward:
>>
>> This fundamentally fails, because the brew installed openblas doesn't
>> get detected by ./configure, and make results in immediately building
>> trying to build it, which fails again.
>>
>
> A message at the end of the configure run tells you an extra step for 
> homebrew.


Detection of openblas does not work for me, even when doing that extra step.

/Users/wstein/build/sage$ ./config.status --recheck 2>&1 |grep
openblas && ./config.status 2>&1 | grep openblas
running CONFIG_SHELL=/bin/sh /bin/sh ./configure
PKG_CONFIG_PATH=/opt/homebrew/opt/sqlite/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/openblas/lib/pkgconfig:/opt/homebrew/lib/pkgconfig:
--no-create --no-recursion
Checking whether SageMath should install SPKG openblas...
checking for library containing openblas_get_config... no
configure: no suitable system package found for SPKG openblas
checking whether any of openblas zlib bzip2 is installed as or will be
installed as SPKG... yes; install cbc as well
checking whether any of givaro gmp openblas is installed as or will be
installed as SPKG... yes; install fflas_ffpack as well
checking whether any of openblas is installed as or will be installed
as SPKG... yes; install gsl as well
checking whether any of glpk openblas gmp is installed as or will be
installed as SPKG... yes; install igraph as well
checking whether any of gmp openblas is installed as or will be
installed as SPKG... yes; install iml as well
checking whether any of openblas iconv readline bzip2 liblzma pcre
curl is installed as or will be installed as SPKG... yes; install r as
well
checking whether any of openblas is installed as or will be installed
as SPKG... yes; install suitesparse as well
openblas-0.3.18:                             no suitable system
package; standard, will be installed as an SPKG


The openblas brew package is definitely installed:

/Users/wstein/build/sage$ find /opt/homebrew |grep openblas
/opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openblas.rb
/opt/homebrew/opt/openblas
/opt/homebrew/Cellar/openblas
/opt/homebrew/Cellar/openblas/0.3.18
/opt/homebrew/Cellar/openblas/0.3.18/INSTALL_RECEIPT.json
/opt/homebrew/Cellar/openblas/0.3.18/LICENSE
/opt/homebrew/Cellar/openblas/0.3.18/.brew
/opt/homebrew/Cellar/openblas/0.3.18/.brew/openblas.rb
/opt/homebrew/Cellar/openblas/0.3.18/include
/opt/homebrew/Cellar/openblas/0.3.18/include/lapacke_utils.h
/opt/homebrew/Cellar/openblas/0.3.18/include/lapacke.h
/opt/homebrew/Cellar/openblas/0.3.18/include/f77blas.h
/opt/homebrew/Cellar/openblas/0.3.18/include/openblas_config.h
/opt/homebrew/Cellar/openblas/0.3.18/include/lapacke_config.h
/opt/homebrew/Cellar/openblas/0.3.18/include/cblas.h
/opt/homebrew/Cellar/openblas/0.3.18/include/lapack.h
/opt/homebrew/Cellar/openblas/0.3.18/include/lapacke_mangling.h
/opt/homebrew/Cellar/openblas/0.3.18/README.md
/opt/homebrew/Cellar/openblas/0.3.18/lib
/opt/homebrew/Cellar/openblas/0.3.18/lib/libopenblas.a
/opt/homebrew/Cellar/openblas/0.3.18/lib/liblapack.dylib
/opt/homebrew/Cellar/openblas/0.3.18/lib/pkgconfig
/opt/homebrew/Cellar/openblas/0.3.18/lib/pkgconfig/openblas.pc
/opt/homebrew/Cellar/openblas/0.3.18/lib/cmake
/opt/homebrew/Cellar/openblas/0.3.18/lib/cmake/openblas
/opt/homebrew/Cellar/openblas/0.3.18/lib/cmake/openblas/OpenBLASConfigVersion.cmake
/opt/homebrew/Cellar/openblas/0.3.18/lib/cmake/openblas/OpenBLASConfig.cmake
/opt/homebrew/Cellar/openblas/0.3.18/lib/libopenblasp-r0.3.18.a
/opt/homebrew/Cellar/openblas/0.3.18/lib/libopenblasp-r0.3.18.dylib
/opt/homebrew/Cellar/openblas/0.3.18/lib/libopenblas.dylib
/opt/homebrew/Cellar/openblas/0.3.18/lib/libblas.dylib
/opt/homebrew/Cellar/openblas/0.3.18/lib/libopenblas.0.dylib
/opt/homebrew/Cellar/openblas/0.3.18/Changelog.txt


>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-release/26acca4c-25fb-4cda-b063-2f3fee14b52cn%40googlegroups.com.



--
William (http://wstein.org)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/CACLE5GB0RJy-_7RMqLwMqOawgUJ2HFf8nv8hoSgw8AxKTZoL6w%40mail.gmail.com.

Reply via email to