It has been a while since I tried to build with conda on OSX. I think is was only with x86-64 architectures.
When I did I was not able to successfully compile and run the results due to XCode/OSX libraries not matching between distributed packages and what was compiled locally.
I’m going to give it another try after updating to the a newer Xcode on the ARM/Monterey machine.
What is the confidence level that ITK 5.4.0 will solve any ARM64 issues on macOS?
I’m trying to figure out how to start pulling the RC, build an anaconda package for ITK, then use that ITK inside our own built anaconda package. I guess I could build the ITK 5.4 anaconda package and upload to our own channel for testing. Although I thought I read something ITK builds PyPi wheels first, then just repackages those into an Anaconda package? Maybe the tooling is just different enough between how Pypi does it and how Anaconda does it?
This is different that the “itk” condo-forge feed stock which is just for python and does the PyPI packaging.
The “libitk” feedstock is used by “libsimpleitk” and the “simpleitk” feed stocks with the latter being a python distribution based on the others and the full condo-forge packages. You may want to look through those feed stocks to see how it all works. It took a while to get it all working and has had continual improvements and changes over the years.
Now I am thinking about just directly compiling ITK as part of our build script but using “ITK_CUSTOM_LIBRARY_SUFFIX” and set that to something that will not interfere with an ITK that would be installed by Anaconda. I have done with a few other libraries to get around the versioning issues that we are having.
Is there a ITK_CUSTOM_LIBRARY_PREFIX variable? I don’t have access to the ITK code at the moment to search.