You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[...]
[100%] Built target install-CIRCTPythonModules
Detected static linked python. Faking a library for cmake.
running build_ext
running build_scripts
I tried a few things here. For one, I set a breakpoint in the NoopBuildExtension method, and it never seems to get called. To sanity check myself, I did set a breakpoint in the CustomBuild, before and after build_py, and the breakpoint before build_py was hit, but the failing build_ext step was run before the breakpoint after build_py was hit. So I think there is something wonky going on with setuptools/distutils, which has its own little command running framework. It feels like somehow that is conjuring a build_ext that isn't our overridden one.
I don't know why this would have changed recently. I don't know of anything upstream that would affect this, but maybe I'm missing something. I do know that we have an open ended setuptools dependency, which I don't like, so I tried pinning it to the oldest version of setuptools we can use, and that didn't fix this. I also know we recently switched to macos-13 runners, so perhaps that is related.
For now, I will plan to remove MacOS wheel builds in #8051.
The text was updated successfully, but these errors were encountered:
This appears to have been failing since we updated LLVM to integrate the upstream MLIR switch to nanobind for the core dialect here.
I'm planning to remove this for now, since no one seems to care about MacOS wheels, and we have finite space in PyPI for CIRCT.
I do want to leave my thoughts, such as they are, in case anyone wants to try to pick this up.
There are a number of failed Upload Wheels jobs that I manually ran while testing, but take a look at one of the failures that was scheduled on main: https://github.com/llvm/circt/actions/runs/12632127552
In the failing MacOS job, it gets to the build_ext step, which is supposed to be a no-op, but instead tries to run a half-baked C compile command, which fails: https://github.com/llvm/circt/actions/runs/12632127552/job/35195198998#step:6:7419
In a passing Linux job, the build_ext step really is a no-op: https://github.com/llvm/circt/actions/runs/12632127552/job/35195198360#step:6:7819
I tried a few things here. For one, I set a breakpoint in the NoopBuildExtension method, and it never seems to get called. To sanity check myself, I did set a breakpoint in the CustomBuild, before and after build_py, and the breakpoint before build_py was hit, but the failing build_ext step was run before the breakpoint after build_py was hit. So I think there is something wonky going on with setuptools/distutils, which has its own little command running framework. It feels like somehow that is conjuring a build_ext that isn't our overridden one.
I don't know why this would have changed recently. I don't know of anything upstream that would affect this, but maybe I'm missing something. I do know that we have an open ended setuptools dependency, which I don't like, so I tried pinning it to the oldest version of setuptools we can use, and that didn't fix this. I also know we recently switched to macos-13 runners, so perhaps that is related.
For now, I will plan to remove MacOS wheel builds in #8051.
The text was updated successfully, but these errors were encountered: