PennyLaneAI / PennyLaneAI/catalyst

CMake Error: The dependency target "FileCheck" of target <xxx> does not exist.

Open
#388 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
234
Forks
84
Avg merge
2d 15h
Merged PRs (30d)
66

Description

Issue description

Description of the issue - include code snippets and screenshots here
if relevant. You may use the following template below

  • Expected behavior: (What you expect to happen)
    Build without error.

  • Actual behavior: (What actually happens)
    CMake reports errors such as

CMake Error at /opt/clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/lib/cmake/llvm/AddLLVM.cmake:1915 (add_dependencies):
  The dependency target "FileCheck" of target "check-stablehlo-tosa" does not
  exist.
Call Stack (most recent call first):
  /opt/clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/lib/cmake/llvm/AddLLVM.cmake:1981 (add_lit_target)
  stablehlo/stablehlo/conversions/tosa/tests/CMakeLists.txt:22 (add_lit_testsuite)
  • Reproduces how often: (What percentage of the time does it reproduce?)
    100%

  • System information: (post the output of import pennylane as qml; qml.about())

Name: PennyLane
Version: 0.33.1
Summary: PennyLane is a Python quantum machine learning library by Xanadu Inc.
Home-page: https://github.com/PennyLaneAI/pennylane
Author: 
Author-email: 
License: Apache License 2.0
Location: /tmp/catalyst/venv/lib/python3.10/site-packages
Requires: appdirs, autograd, autoray, cachetools, networkx, numpy, pennylane-lightning, requests, rustworkx, scipy, semantic-version, toml, typing-extensions
Required-by: amazon-braket-pennylane-plugin, PennyLane-Lightning, PennyLane-Lightning-Kokkos

Platform info:           Linux-5.15.0-88-generic-x86_64-with-glibc2.31
Python version:          3.10.13
Numpy version:           1.26.2
Scipy version:           1.11.4
Installed devices:
- braket.aws.ahs (amazon-braket-pennylane-plugin-1.23.0)
- braket.aws.qubit (amazon-braket-pennylane-plugin-1.23.0)
- braket.local.ahs (amazon-braket-pennylane-plugin-1.23.0)
- braket.local.qubit (amazon-braket-pennylane-plugin-1.23.0)
- lightning.kokkos (PennyLane-Lightning-Kokkos-0.33.1)
- default.gaussian (PennyLane-0.33.1)
- default.mixed (PennyLane-0.33.1)
- default.qubit (PennyLane-0.33.1)
- default.qubit.autograd (PennyLane-0.33.1)
- default.qubit.jax (PennyLane-0.33.1)
- default.qubit.legacy (PennyLane-0.33.1)
- default.qubit.tf (PennyLane-0.33.1)
- default.qubit.torch (PennyLane-0.33.1)
- default.qutrit (PennyLane-0.33.1)
- null.qubit (PennyLane-0.33.1)
- lightning.qubit (PennyLane-Lightning-0.33.1)
Source code and tracebacks

Please include any additional code snippets and error tracebacks related
to the issue here.
build-log.txt

Additional information

Any additional information, configuration or data that might be necessary
to reproduce the issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading stablehlo/stablehlo/conversions/tosa/tests/CMakeLists.txt and the attached build-log to trace why FileCheck is referenced but unavailable in the CMake configuration. Done means the affected configuration completes without the reported missing-target error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.