-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kfactory
not installable on aarch64
due to build fails
#442
Comments
@joamatab FYI. |
Oh, I missed that there is no arm64 in their releases :(. I saw I can check out whether there is an easy way to make it work on osx arm64 |
That would be great! With gdsfactory 8.6.1 I can install with latest OpenLane2 finally, w/o dependency version clash :-) |
@hpretl could you elaborate a bit on your build process? I just tried it on my underused OSX M2. For both conda (more precicely miniforge/mamba but that's a technical details) and brew python3.12 it installs without a hiccup. I assume you are building a docker image or similar? So I suspect you are missing a library used to install. |
Indeed, I try to build a Docker container, base OS is Ubuntu 22.04 LTS. We build in parallel for x86_64 and aarch64. With the same scripts and everything, x86_64 works, and aarch64 fails on rectangle-packer with the above copied error log. |
@MrHighVoltage can you please take a look at this. Any ideas from your side? |
Is the workflow/pipeline open sourced? I would be happy to take a look. I am using debian as a daily driver, so I can take a look with podman |
All is open source, we are building this here: https://github.com/iic-jku/IIC-OSIC-TOOLS I tried to construct a minimum failing exampl, but failed, it was just working. Then I found a workaround, which could be a solution: I removed the package So it seems it is a weird interaction of packages we have installed and Cython. |
Argh, I should have read more carefully. Cython is indeed the culprit (you even linked against the issue detailing it...)
|
Thanks for confirming the issue with Cython. So I guess we should ask the rectangle-packer maintainer to upgrade to Cython3 then, as will be likely an issue for all current distros. |
I see somewhat of a workaround (but generally I agree that the package should upgrade to cython3). As far as I understand it, cython will only be a build dependency. So what you can do is first install kfactory/gdsfactory and then install cython from apt. I will try to see whether I can debug the issue |
@hpretl I don't have a good solution for this atm. I tried everything, and can't really reproduce it. Would it be ok if I would implement this through a |
I have moved on to |
That sounds reasonable. Is there a minimal docker I can try against? As in is it just a cross compiled aarch64? If so, I can try to see whether it will work by adding Cython as a build dependency in pyproject.toml |
I have no minimal Docker, just the full-blown monster IIC-OSIC-TOOLS. |
When installing
gdsfactory
8.6.1 and thuskfactory
0.18.4, its dependencyrectangle-packer
causes issues on aarch64. This is may be a known issue (see Penlect/rectangle-packer#24), and I see a build fail on Ubuntu 22.04 LTS:There is also another issue reported with Cython, see Penlect/rectangle-packer#22.
Either there is a solution for the upstream package, or you could consider removing the
rectangle-packer
dependency.The text was updated successfully, but these errors were encountered: