File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,13 @@ devenv shell
24
24
All the required dependencies should be available. You can automate loading the
25
25
shell by setting up [ direnv] ( https://devenv.sh/automatic-shell-activation/ ) .
26
26
27
+ <!-- TODO: Remove once the pre-compiled binaries are available. -->
28
+ Currently you will need to compile the tket C API manually. To do this, run:
29
+ ``` bash
30
+ just setup-tket-c-api
31
+ ```
32
+ This step will be removed in the future, once the pre-compiled binaries are available.
33
+
27
34
### Manual setup
28
35
29
36
To setup the environment manually you will need:
Original file line number Diff line number Diff line change 4
4
5
5
# Prepare the environment for development, installing all the dependencies and
6
6
# setting up the pre-commit hooks.
7
- setup :
7
+ setup : setup-tket-c-api
8
8
uv sync
9
9
[[ -n " ${TKET2_JUST_INHIBIT_GIT_HOOKS:-}" ]] || uv run pre-commit install -t pre-commit
10
10
11
+ # Configure the conan cache for tket-c-api.
12
+ setup-tket-c-api :
13
+ uv run conan remote add -f tket-libs https:// quantinuumsw.jfrog.io/ artifactory/ api/ conan/ tket1-libs --index 0
14
+ cd tket1-passes/ tket-c-api && uv run conan create . --build=missing
15
+
11
16
# Run the pre-commit checks.
12
17
check :
13
18
uv run pre-commit run --all-files
You can’t perform that action at this time.
0 commit comments