Closed doug-walker closed 1 year ago
Hi Doug, we're building OCIO 2.1.2 into USD universal binaries and aren't experiencing this issue. Which version of OCIO are you seeing it on?
I also managed to build universal binaries in the past and that was used for Python wheels until recently. One thing I remember though is that at some point the SSE detection code started to break and try to use SSE for the ARM backend so I had to manually turn SSE off with OCIO_USE_SSE.
Thanks for the feedback @jonny-apple and @remia ! I logged this issue after doing a very quick test in 2.2.0. Glad to hear it's working for you both. Should be straight-forward to get this working. I will reach out if we have any trouble, once we start actually working on this task.
The work for this was done in PR #1775.
Currently, OCIO's build system will build ARM libraries with the CMake option
-DCMAKE_OSX_ARCHITECTURES=arm64
. However, attempting to build a universal binary using the=arm64;x86_64
option fails. This task is to improve the build process to easily support macOS universal binaries (i.e., a library that will work on either Intel or ARM hardware).