Skip to content

Commit

Permalink
Fix latest/latest/latest failure (#1377)
Browse files Browse the repository at this point in the history
**Context:** Check CPL latest/latest/latest is failing because the
device toml file is not found when instantiating an OQD device. This
happened because Check CPL installs catalyst using `make catalyst`, not
`make all`, and the oqd build target was not added as a dependency of
`make catalyst`.

**Description of the Change:** Add `oqd` to dependencies of `make
catalyst`. Also, I've made an opportunistic fix to an incorrect GitHub
action title: "Download PennyLane-Lightning (**latest**)" where it
should be "Download PennyLane-Lightning (**release-candidate**)"
  • Loading branch information
joeycarter authored Dec 12, 2024
1 parent 583d02e commit 2161587
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-pl-compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
path: lightning_build
fetch-depth: 0

- name: Download PennyLane-Lightning (latest)
- name: Download PennyLane-Lightning (release-candidate)
if: ${{ inputs.lightning == 'release-candidate' }}
uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ help:

.PHONY: all catalyst
all: runtime oqc oqd mlir frontend
catalyst: runtime dialects plugin frontend
catalyst: runtime dialects plugin oqd frontend

.PHONY: frontend
frontend:
Expand Down

0 comments on commit 2161587

Please sign in to comment.