Closed petrasvestartas closed 1 month ago
No idea, and unfortunately beyond the scope of what I can support here. At the end of the day, nanobind just uses standard commands like add_library
, and if those don't deal with multiple architectures, there is likely a larger CMake issue. I suggest that you take it up with them.
Problem description
I am using nanobind example.
I want to build a wheel that is universal both for x86_64 and arm64 Mac OS. Normally I set OS architecture, but for Nanobind they are always empty.
Why?
Reproducible example code