kokkos / kokkos/kokkos-tutorials
build error after ninja clean
Open
Nobody has claimed this yet.
bug
- Dominant language
- C++
- Stars
- 388
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
possibly a kokkos build issue rather than tutorial related, but it's reproducible from here
cd Exercises/04/Begin # arbitrary
mkdir build
cd build
cmake .. -G Ninja
ninja
ninja clean
ninja #fail
error message
ninja
[4/30] Building CXX object Kokkos/CMakeFiles/impl_git_version.dir/__/generated/Kokkos_Version_Info.cpp.o
FAILED: Kokkos/CMakeFiles/impl_git_version.dir/__/generated/Kokkos_Version_Info.cpp.o
/usr/bin/c++ -I/io/koks/Exercises/04/Begin/build/generated -O2 -g -DNDEBUG -MD -MT Kokkos/CMakeFiles/impl_git_version.dir/__/generated/Kokkos_Version_Info.cpp.o -MF Kokkos/CMakeFiles/impl_git_version.dir/__/generated/Kokkos_Version_Info.cpp.o.d -o Kokkos/CMakeFiles/impl_git_version.dir/__/generated/Kokkos_Version_Info.cpp.o -c /io/koks/Exercises/04/Begin/build/generated/Kokkos_Version_Info.cpp
cc1plus: fatal error: /io/koks/Exercises/04/Begin/build/generated/Kokkos_Version_Info.cpp: No such file or directory
compilation terminated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure from Exercises/04/Begin by configuring with CMake and Ninja, then running ninja, ninja clean, and ninja again. Inspect the generated/Kokkos_Version_Info.cpp target and the reported missing-file path; done means the rebuild succeeds after ninja clean.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100