|
I must admit that I was unsure if MacOS is supposed to work. Do we have transparent mapping of .so to .dylib (and .so.0 to .0.dylib) in PLIST?
I did not add anything about LTO. I tried to also patch correnspondinh code paths for Darwin along my library naming changes.
I hope we can figure this out, as this update contains major fixup regarding performance of suitesparse, for example.
I don't have experience with clang or MacOS to offer:-/ There is an old patch by Jason that does some assembly translations for clang ... maybe more patchery is needed. Maybe check a homebrew/macports package for openblas?
Alrighty then,
Thomas
Am 25.02.2026 um 11:10 schrieb Adam <adam%viamedium.pl@localhost>:
Modified Files:
pkgsrc/doc: CHANGES-2026 TODO
pkgsrc/math/openblas: Makefile.common distinfo version.mk
pkgsrc/math/openblas/patches: patch-Makefile patch-Makefile.install
patch-Makefile.system patch-c__check
Added Files:
pkgsrc/math/openblas/patches: patch-driver_others_Makefile
patch-driver_others_blas__server__callback.c patch-exports_Makefile
patch-openblas.pc.in
Removed Files:
pkgsrc/math/openblas/patches: patch-Makefile.rule
Log Message:
openblas: update to 0.3.31
This fails to build on macOS:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: -lto_library library filename must be 'libLTO.dylib'
ld: -lto_library library filename must be 'libLTO.dylib'
gmake[1]: *** [Makefile:450: test_bgemv] Error 1
gmake[1]: *** Waiting for unfinished jobs....
f951: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
f951: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
gmake[1]: *** [Makefile:447: test_bgemm] Error 1
gmake[1]: *** [Makefile:456: test_sbgemv] Error 1
ld: -lto_library library filename must be 'libLTO.dylib'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:453: test_sbgemm] Error 1
f951: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
f951: note: unrecognized command-line option '-Wno-incompatible-function-pointer-types' may have been intended to silence earlier diagnostics
Where -lto_library comes from?
|