-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update qe-qasm conan build script to point to repo URL in openqasm org.
- Loading branch information
1 parent
16dea56
commit 1df86a4
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 = { | ||
|
@@ -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}") | ||
|