-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow quantum registers returned from functions during buffer deallocation #1408
base: main
Are you sure you want to change the base?
Conversation
Hello. You may have forgotten to update the changelog!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for using the make recipes. In the future we can add the patches to the cache's hash. It looks like the build process failed, I'll give you some more time to work on it. Let me know again once it is succeeding.
@@ -75,10 +82,12 @@ llvm: | |||
-DCMAKE_CXX_VISIBILITY_PRESET=$(SYMBOL_VISIBILITY) | |||
|
|||
# TODO: when updating LLVM, test to see if mlir/unittests/Bytecode/BytecodeTest.cpp:55 is passing | |||
# and remove filter | |||
LIT_FILTER_OUT="Bytecode" cmake --build $(LLVM_BUILD_DIR) --target check-mlir llvm-symbolizer | |||
# and remove filter. This tests fails on CI/CD not locally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# and remove filter. This tests fails on CI/CD not locally. | |
# and remove filter. These tests fails on CI/CD not locally. |
2a772be
to
f9f4e84
Compare
Context: This patch fixes a bug in upstream MLIR that prevents buffer deallocation from working in certain cases. The patch was also submitted upstream: llvm/llvm-project#121582
Description of the Change: This PR adds a patch to the llvm-project source, and updates the relevant build recipes. The llvm step during wheel builds is now also handled through Make instead of replicating the CMake configuration in each wheel script.
Benefits: Unblocks our friends over at Qrisp.
Possible Drawbacks: Patching dependencies is not great, but hopefully temporary.
Related GitHub Issues:
[sc-81444]