Hi there!

I'm running macOS 15.5 (sequoia), installing sagemath from git repository 
with homebrew. 

***************************************************************

Error building Sage.


The following package(s) may have failed to build (not necessarily

during this run of 'make all-start'):


* package:         openblas-0.3.28

  last build time: Jul 10 10:59

  log file:        /Applications/sage/logs/pkgs/openblas-0.3.28.log

  build directory: 
/Applications/sage/local/var/tmp/sage/build/openblas-0.3.28

log attached.

FWIW, I did install openblas with homebrew and did run `source 
.homebrew-build-env` and `make reconfigure` before running `make` from the 
sage directory. In case it's relevant, here's what 'brew has to say about 
openblas:

lauve@edinburgh sage % brew info openblas

==> *openblas*: stable 0.3.30 (bottled), HEAD [keg-only]

Optimized BLAS library

https://www.openblas.net/

Installed

/opt/homebrew/Cellar/openblas/0.3.30 (24 files, 50.4MB)

  Poured from bottle using the formulae.brew.sh API on 2025-07-10 at 
10:45:39

From: 
https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/o/openblas.rb

License: BSD-3-Clause AND BSD-2-Clause-Views AND BSD-3-Clause-Open-MPI AND 
BSD-2-Clause

==> *Dependencies*

Required: *gcc **✔*

==> *Options*

--HEAD

Install HEAD version

==> *Caveats*

openblas is keg-only, which means it was not symlinked into /opt/homebrew,

because macOS provides BLAS in Accelerate.framework.


For compilers to find openblas you may need to set:

  export LDFLAGS="-L/opt/homebrew/opt/openblas/lib"

  export CPPFLAGS="-I/opt/homebrew/opt/openblas/include"


For pkg-config to find openblas you may need to set:

  export PKG_CONFIG_PATH="/opt/homebrew/opt/openblas/lib/pkgconfig"



Many thanks,
Aaron

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/f8e2978b-5907-4c1f-9fdb-34b10d46c2e4n%40googlegroups.com.

Reply via email to