Skip to content

Declare quantum dialect link time dependencies - #3212

Open
dime10 wants to merge 1 commit into
mainfrom
dime-patch-0
Open

dime10 wants to merge 1 commit into
mainfrom
dime-patch-0

Conversation

@dime10

@dime10 dime10 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

The Quantum dialect now depends on several other dialects (meaning it uses symbols from those compilation units). This can cause downstream build errors, e.g. in a plugin which only links against the Quantum dialect and doesn't know that links to other dependent dialects are needed as well. In a base Catalyst build this is not an issue since all executable targets we have include all dialects anyway.

The fix makes it so those dependencies are explicitly declared by the component that depends on it, which we should follow as a general practice.

We might also want to interrogate whether these dependencies are truly necessary for the Quantum dialect, or whether it could be made more independent.

@dime10
dime10 requested a review from a team September 10, 2026 16:49
@dime10 dime10 added the CI/Build Pull requests that update CI or build scripts label Sep 10, 2026
@dime10
dime10 requested review from a team and comp-phys-marc and removed request for comp-phys-marc September 11, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/Build Pull requests that update CI or build scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants