DLR-SC / tixi

A simple XML interface library
Apache License 2.0
35 stars 16 forks source link

Missing compatibility for osx-arm64 #226

Open JannikFra opened 4 months ago

JannikFra commented 4 months ago

I would like to use tixi3 on a Macbook with ARM-processor. When I try to install the tixi from conda using the command: conda install dlr-sc::tixi3 an error occurs that the package is not compatible with my system: requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://conda.anaconda.org/dlr-sc/osx-arm64/current_repodata.json Will there be any development for osx-arm64 support? I can use the package in a VM, but with significantly decreased performance.

joergbrech commented 4 months ago

Thanks for opening an issue here! 💐 The conda packages are automatically built and uploaded via Github actions from here: https://github.com/DLR-SC/tigl-conda. I am definitely in favor of building packages for osx-arm64, but I have limited resources available to make it happen right now. Are you familiar with conda-build and would be open for a code contribution? 😄

I have read that Arm-based hosted runners are coming to Github actions (currently only available in private alpha or beta testing AFAIK), but we might also be able to cross-compile, I am not sure.

JannikFra commented 4 months ago

Thank you very much for your fast answer. I tried to build the package using tigl-conda, but without success yet. When building the entire tigl-conda-master recipe directory, an error occurs, that wheels for pythreejs cannot be build. When I try to build the single packages I often get the following error: checking for arm64-apple-darwin20.0.0-gcc... arm64-apple-darwin20.0.0-clang checking whether the C compiler works... no

rainman110 commented 4 months ago

@JannikFra did you install a macOS SDK or xcode? Conda build requires one of them to be installed, which also includes the clang compiler.

JannikFra commented 4 months ago

I have xcode installed and so the current macOS SDK. I also tried adjusting the SDK version in conda_build_config.yaml to my version (14.2) but still without success. I still get the same errors as in my previous comment.