-
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.
Merge pull request #212 from Qiskit/brj/qss-to-qe-rename
Update qss-qasm reference to qe-qasm in conan.
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 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
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 |
---|---|---|
|
@@ -20,8 +20,8 @@ | |
|
||
class QasmConan(ConanFile): | ||
name = "qasm" | ||
version = "0.2.16" | ||
url = "https://github.com/Qiskit/qss-qasm.git" | ||
version = "0.3.0" | ||
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/qss-qasm.git .") | ||
self.run(f"git clone https://{token}@github.com/openqasm/qe-qasm.git .") | ||
else: | ||
self.run(f"git clone [email protected]:Qiskit/qss-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}") | ||
|
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