Skip to content

Add 'system' installation option#28

Open
emilkovacev wants to merge 2 commits into
mainfrom
add-sys-mode
Open

Add 'system' installation option#28
emilkovacev wants to merge 2 commits into
mainfrom
add-sys-mode

Conversation

@emilkovacev
Copy link
Copy Markdown
Member

Closes #6

  • Adds a 'system' option to install qiskit-sys with a system installation of the qiskit-c-api
  • Adds a test test_version to ensure that the version of qiskit-c-api matches the version of qiskit-sys (to ensure compatibility). Maybe should be moved into build.rs? Open to thoughts.

@emilkovacev
Copy link
Copy Markdown
Member Author

emilkovacev commented Apr 27, 2026

According to the official *-sys rust docs (link), sys crates should "probe the current system for libfoo before resorting to building from source." I think it's definitely within scope for me to change this within this PR (and would be fairly straightforward) but I'll wait for review comments before moving forward.

@emilkovacev emilkovacev mentioned this pull request Apr 27, 2026
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

Successfully merging this pull request may close these issues.

Have a mode for qiskit-sys that uses system install libqiskit

1 participant