llvm / llvm/circt

[Python] Wheel bulid fails on python 3.11 + mac

Open
#6,194 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.2k
Forks
524
Avg merge
3d 2h
Merged PRs (30d)
46

Description

https://github.com/llvm/circt/actions/runs/6283543546/job/17064115606

Not sure why it only fails in this specific config but probably FSM is missing cmake dependency to CIRCT transform.

  [ 86%] Built target obj.CIRCTFSMTransforms
  [ 86%] Linking CXX static library ../../../../../../lib/libCIRCTFSMTransforms.a
  [ 86%] Built target CIRCTFSMTransforms
  [ 86%] Building CXX object tools/circt/lib/CAPI/Dialect/CMakeFiles/obj.CIRCTCAPIFSM.dir/FSM.cpp.o
  In file included from /Users/runner/work/circt/circt/lib/CAPI/Dialect/FSM.cpp:8:
  In file included from /Users/runner/work/circt/circt/include/circt/Conversion/Passes.h:18:
  In file included from /Users/runner/work/circt/circt/include/circt/Conversion/CFToHandshake.h:20:
  /Users/runner/work/circt/circt/include/circt/Transforms/Passes.h:116:10: fatal error: 'circt/Transforms/Passes.h.inc' file not found
  #include "circt/Transforms/Passes.h.inc"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked GitHub Actions job and the Python 3.11 macOS wheel build. Trace the CMake dependency that should generate or expose circt/Transforms/Passes.h.inc while building tools/circt/lib/CAPI/Dialect/FSM.cpp. Done means the affected wheel build completes successfully in this configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.