llvm / llvm/circt

firtool fails to configure with llvm-16: The dependency target "FileCheck" of target "check-circt" does not exist.

Open
#4,758 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.2k
Forks
524
Avg merge
3d 2h
Merged PRs (30d)
46

Description

```
-- Configuring done
CMake Error at /usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:1915 (add_dependencies):
The dependency target "FileCheck" of target "check-circt" does not exist.
Call Stack (most recent call first):
/usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:1981 (add_lit_target)
test/CMakeLists.txt:42 (add_lit_testsuite)

CMake Error at /usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:1915 (add_dependencies):
The dependency target "count" of target "check-circt" does not exist.
Call Stack (most recent call first):
/usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:1981 (add_lit_target)
test/CMakeLists.txt:42 (add_lit_testsuite)

CMake Error at /usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:1915 (add_dependencies):
The dependency target "not" of target "check-circt" does not exist.
Call Stack (most recent call first):
/usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:1981 (add_lit_target)
test/CMakeLists.txt:42 (add_lit_testsuite)

CMake Error at /usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:1915 (add_dependencies):
The dependency target "split-file" of target "check-circt" does not exist.
Call Stack (most recent call first):
/usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:1981 (add_lit_target)
test/CMakeLists.txt:42 (add_lit_testsuite)

CMake Error at /usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:1915 (add_dependencies):
The dependency target "FileCheck" of target "check-circt-capi" does not
exist.
Call Stack (most recent call first):
/usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:2016 (add_lit_target)
test/CMakeLists.txt:48 (add_lit_testsuites)

CMake Error at /usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:1915 (add_dependencies):
The dependency target "count" of target "check-circt-capi" does not exist.
Call Stack (most recent call first):
/usr/local/llvm16/lib/cmake/llvm/AddLLVM.cmake:2016 (add_lit_target)
test/CMakeLists.txt:48 (add_lit_testsuites)
```

Version: 1.32.0
llvm-16 (the latest released LLVM)
FreeBSD 13.1

Contributor guide

No contributing guide indexed for this repository

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 with test/CMakeLists.txt at the add_lit_testsuite calls, then compare the LLVM 16 AddLLVM.cmake behavior shown in the error. Reproduce configuration with LLVM 16 on FreeBSD 13.1 and verify that the check-circt and check-circt-capi targets configure without missing FileCheck, count, not, or split-file dependencies.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.