Skip to content
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

Simplify full compilation from IR to binary executable #43

Open
nilslice opened this issue Jun 13, 2022 · 0 comments
Open

Simplify full compilation from IR to binary executable #43

nilslice opened this issue Jun 13, 2022 · 0 comments

Comments

@nilslice
Copy link
Contributor

Considering the current multi-step process to transform and compile bitcode to a native binary, we could simplify things for end-users a bit:

Adding a CLI operation a la:
qcs-sdk-qir compile input.bc -o program, which would transform the IR, compile the shared libraries, and compile the IR.

where program is the final executable, even statically linked with:

  • LLVM libraries
  • QCS helper C library
  • QCS C SDK

Potential issues:

  • cross-compilation / target configurability
  • LLVM library linking
  • clang/gcc/etc compiler configurability or automatic lookup of available options
  • where to source the shared libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant