pyhdf
pyhdf copied to clipboard
Arm64 support for macOS and Linux
What version of pyhdf, HDF4, and Python are you using?
pyhdf version: 0.11.3 HDF4 C library version: Python version: 3.11, 3.12
What operating system are you using?
macOS 14
What did you do?
Install library form PyPi
What did you expect to see?
Correctly installed
What did you see instead?
creating build/temp.macosx-14-arm64-cpython-311
creating build/temp.macosx-14-arm64-cpython-311/pyhdf
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -I/opt/homebrew/include -I/opt/homebrew/opt/ncurses/include -I/opt/homebrew/opt/sqlite/include -I/private/var/folders/lp/rpld4d3j2t15jq6t5kyb8fm00000gn/T/tmpul0xhu28/.venv/lib/python3.11/site-packages/numpy/core/include -I/private/var/folders/lp/rpld4d3j2t15jq6t5kyb8fm00000gn/T/tmpul0xhu28/.venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c pyhdf/hdfext_wrap.c -o build/temp.macosx-14-arm64-cpython-311/pyhdf/hdfext_wrap.o -DNOSZIP
pyhdf/hdfext_wrap.c:3677:10: fatal error: 'hdf.h' file not found
#include "hdf.h"
^~~~~~~
1 error generated.
So, the issue is - unsupported arm64 architecture in published wheels.