Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Changing C# codegen to happen synch. #631

Merged
merged 4 commits into from
Mar 26, 2022
Merged

Changing C# codegen to happen synch. #631

merged 4 commits into from
Mar 26, 2022

Conversation

anpaz
Copy link
Member

@anpaz anpaz commented Mar 24, 2022

Fixes #630 by making the c# codegen calls synchronous (as it turns out, codegen is not threadsafe, see microsoft/qsharp-compiler#1393).

I also moved the codegen to happen after we're building the manifests, as that can happen concurrently.

@cgranade cgranade enabled auto-merge (squash) March 25, 2022 02:32
@anpaz
Copy link
Member Author

anpaz commented Mar 25, 2022

/azp run

1 similar comment
@ricardo-espinoza
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@anpaz
Copy link
Member Author

anpaz commented Mar 26, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@cgranade cgranade merged commit f7096dd into main Mar 26, 2022
@cgranade cgranade deleted the anpaz/sync-codegen branch March 26, 2022 08:09
ricardo-espinoza pushed a commit that referenced this pull request Mar 26, 2022
* Changing C# codegen to happen synch.

* Be more explicit about workspace init failures.

* Propagate internal errors through to logging infrastructure.

* Remove debug code.

Co-authored-by: Cassandra Granade <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Random compilation errors on DistinguishUnitaries Kata
3 participants