Skip to content

Commit

Permalink
Update qe-qasm conan build script to point to repo URL in openqasm org.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakejohnson committed Jan 2, 2024
1 parent 16dea56 commit 1df86a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conan/qasm/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class QasmConan(ConanFile):
name = "qasm"
version = "0.3.0"
url = "https://github.com/Qiskit/qe-qasm.git"
url = "https://github.com/openqasm/qe-qasm.git"
settings = "os", "compiler", "build_type", "arch"
options = {"shared": [True, False], "examples": [True, False]}
default_options = {
Expand All @@ -39,9 +39,9 @@ class QasmConan(ConanFile):
def source(self):
token = os.environ.get("GITHUB_PAT")
if token is not None:
self.run(f"git clone https://{token}@github.com/Qiskit/qe-qasm.git .")
self.run(f"git clone https://{token}@github.com/openqasm/qe-qasm.git .")
else:
self.run(f"git clone [email protected]:Qiskit/qe-qasm.git .")
self.run(f"git clone [email protected]:openqasm/qe-qasm.git .")

commit_hash = self.conan_data["sources"]["hash"]
self.run(f"git checkout {commit_hash}")
Expand Down

0 comments on commit 1df86a4

Please sign in to comment.