Closed djhoese closed 1 year ago
Further details for posterity:
___kmpc_for_static_fini
which is, as I understand it, part of libompotool -L
output on the .so
universal binary in the wheel is linked to /usr/local/opt/libomp/lib/libomp.dylib
on its x86-64 code and not on arm64 code. This looks like homebrew is in play.As a result, the binary wheel might work for intel macOS with homebrew libomp installed - though homebrew has at least one configuration where libomp is only provided as static (libomp.a).
The two main solutions as I see it are
Thanks @rayg-ssec. It may be worth playing with https://github.com/pypa/auditwheel and see what it says. We use this in the scripts/build-manylinux-wheels.sh
script in pykdtree.
Oh nevermind, auditwheel is Linux only.
Latest commit shows:
OpenMP support not available.
Compiler: unix / OpenMP: None / OpenMP compile args: [] / OpenMP link args: []
For OSX and Windows so I think we're back to normal there.
@rayg-ssec noticed that the newest wheels have OpenMP in them and are therefore broken on most systems. Let's see how quick I can disable this.