qir-alliance / qat

QIR compiler tools and optimization passes for targeting QIR to different hardware backends
https://qir-alliance.github.io/qat/
MIT License
26 stars 14 forks source link

Docker and Codespaces #157

Open PariaNaghavi opened 1 year ago

PariaNaghavi commented 1 year ago

It seems that building qat fails during the container image creation, resulting in the codespace opening in recovery mode. Please see here for the Dockerfile we are using for the qir-book. Despite changing the llvm version to 14, this error persists.

Screen Shot 2022-12-30 at 13 01 19
stevescia commented 1 year ago

I had trouble building with cmake as well; As an alternative, I was able to build and run the qat sample with bazel . I created a gist with the steps to build and run qat, which may be helpful to you: https://gist.github.com/stevescia/1b6eafce631f41c946f16093b69b994c#file-initial-qat-compile-and-test-rundown

swernli commented 9 months ago

@PariaNaghavi sorry for the very late response here. The Dockerfile checked into the repo still works for codespaces development using cmake to build. Are you still experiencing issues with the compilation? I don't see any recent PRs to qir-book that would indicate any updates to the workflow.