Skip to content

default install target has missing dependencies #6937

@ldrumm

Description

@ldrumm

Running ninja install does not correctly complete the install. The install target should correctly track all dependencies without requiring another target to be run.

$ python ../buildbot/configure.py --cuda -o . && ninja install
[ ...]
CMake Error at tools/libdevice/cmake_install.cmake:46 (file):
  file INSTALL cannot find
  "/home/luke/src/upstream/llvm-project/build/lib/libsycl-itt-stubs.o": No
  such file or directory.
Call Stack (most recent call first):
  tools/cmake_install.cmake:147 (include)
  cmake_install.cmake:80 (include)

ninja deploy-sycl-toolchain && ninja install creates the missing dependency and allows the install to complete. This indicates that the install target for ALL is missing an explicit dependency

Local config:
OS: Debian sid gcc=12, cmake=3.24.2, ninja=1.11.1, cuda=11.7.1-1

$ git rev-parse --short HEAD
70b67671a342

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions