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

Conversation

@bettinaheim
Copy link
Contributor

@bettinaheim bettinaheim commented Apr 23, 2021

Instead of referencing the llvmlibs that are needed for QIR generation in the command line compiler, which has the consequence that they are packaged with the sdk, we make them a private asset in the Q# project for which to generate QIR, and use GeneratePathProperty to pass the path where to look for them to the command line compiler. This has the advantage that now the llvmlibs only need to be downloaded when either the nuget cache has been cleared, or we update the used llvm version.
This PR fixes #937.

@bettinaheim bettinaheim requested review from anpaz and swernli April 23, 2021 07:01
Copy link
Contributor

@swernli swernli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this approach will get us the behavior that we need! Signing off assuming we'll also test an alpha QDK package from the e2e build to confirm QIR generation still works as expected.

@bettinaheim bettinaheim enabled auto-merge (squash) April 24, 2021 02:48
@bettinaheim bettinaheim merged commit d789438 into main Apr 24, 2021
ricardo-espinoza added a commit that referenced this pull request Apr 24, 2021
Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
@bettinaheim bettinaheim deleted the beheim/llvmlibs branch June 30, 2021 15:23
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.

Microsoft.Quantum.Sdk jump on size

4 participants